17 lines
495 B
Text
17 lines
495 B
Text
Index: dsp/v4f.h
|
|
--- dsp/v4f.h.orig
|
|
+++ dsp/v4f.h
|
|
@@ -150,10 +150,10 @@ class Sin4f
|
|
{
|
|
v4f_t *y = data();
|
|
v4f_t w = -v4f_pi * f;
|
|
- y[0] = v4f_map<__builtin_sinf> (w);
|
|
- y[1] = v4f_map<__builtin_sinf> (v4f_2 * w);
|
|
+ y[0] = v4f_map<sinf> (w);
|
|
+ y[1] = v4f_map<cosf> (v4f_2 * w);
|
|
/* b in above scalar implementation is y[2] in the flat data */
|
|
- y[2] = v4f_2 * v4f_map<__builtin_cosf> (w); /* b */
|
|
+ y[2] = v4f_2 * v4f_map<cosf> (w); /* b */
|
|
z = 0;
|
|
}
|
|
|