ref: e5df9e9bec0ff82bce7930ee2dadd5a925cd8342
parent: 094cfcc27187a209a5b457b15276d618fea08658
author: Chris Moeller <[email protected]>
date: Sun Nov 10 18:21:34 EST 2013
Added more architecture type guards to _USE_SSE blocks
--- a/dumb/src/it/itrender.c
+++ b/dumb/src/it/itrender.c
@@ -695,7 +695,7 @@
state->prevsample = prevsample;
}
-#if defined(_USE_SSE)
+#if defined(_USE_SSE) && (defined(_M_IX86) || defined(__i386__) || defined(_M_X64) || defined(__amd64__))
#include <xmmintrin.h>
static void it_filter_sse(DUMB_CLICK_REMOVER *cr, IT_FILTER_STATE *state, sample_t *dst, long pos, sample_t *src, long size, int step, int sampfreq, int cutoff, int resonance)
@@ -843,7 +843,7 @@
static void it_filter(DUMB_CLICK_REMOVER *cr, IT_FILTER_STATE *state, sample_t *dst, long pos, sample_t *src, long size, int step, int sampfreq, int cutoff, int resonance)
{
-#if defined(_USE_SSE)
+#if defined(_USE_SSE) && (defined(_M_IX86) || defined(__i386__) || defined(_M_X64) || defined(__amd64__))
_dumb_init_sse();
if ( _dumb_it_use_sse ) it_filter_sse( cr, state, dst, pos, src, size, step, sampfreq, cutoff, resonance );
else