aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/abs~.c1
-rw-r--r--src/sgn~.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/abs~.c b/src/abs~.c
index 0d509f9..b55a742 100644
--- a/src/abs~.c
+++ b/src/abs~.c
@@ -119,6 +119,7 @@ static void sigABS_dsp(t_abs *x, t_signal **sp)
{
#ifdef __SSE__
if(
+ (!(sp[0]->s_n & 15)) &&
ZEXY_TYPE_EQUAL(t_sample, float) &&
zexy_testSSE(sigABS_perform,
sigABS_performSSE,
diff --git a/src/sgn~.c b/src/sgn~.c
index 2570fd2..2421b69 100644
--- a/src/sgn~.c
+++ b/src/sgn~.c
@@ -115,6 +115,7 @@ static void sgnTilde_dsp(t_sgnTilde *x, t_signal **sp)
zexy_testSSE(sgnTilde_perform,
sgnTilde_performSSE,
1,1)
+ && !(sp[0]->s_n & 7)
)
{
dsp_add(sgnTilde_performSSE, 3, sp[0]->s_vec, sp[1]->s_vec, sp[0]->s_n);