From ce56e727c9066f3799d622ec674753cd070122e5 Mon Sep 17 00:00:00 2001 From: Chris Moeller Date: Sun, 10 Nov 2013 23:22:49 -0800 Subject: [PATCH] DUMB: Added more architecture type guards to _USE_SSE blocks --- Frameworks/Dumb/dumb/src/it/itrender.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Frameworks/Dumb/dumb/src/it/itrender.c b/Frameworks/Dumb/dumb/src/it/itrender.c index ce1f3b858..f189a7499 100644 --- a/Frameworks/Dumb/dumb/src/it/itrender.c +++ b/Frameworks/Dumb/dumb/src/it/itrender.c @@ -695,7 +695,7 @@ static void it_filter_int(DUMB_CLICK_REMOVER *cr, IT_FILTER_STATE *state, sample state->prevsample = prevsample; } -#if defined(_USE_SSE) +#if defined(_USE_SSE) && (defined(_M_IX86) || defined(__i386__) || defined(_M_X64) || defined(__amd64__)) #include 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 @@ void _dumb_init_sse() { } 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