20 lines
560 B
Plaintext
20 lines
560 B
Plaintext
$OpenBSD: patch-dsp_v4f_h,v 1.1 2018/04/15 14:30:15 naddy Exp $
|
|
|
|
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;
|
|
}
|
|
|