DUMB: Added more architecture type guards to _USE_SSE blocks

CQTexperiment
Chris Moeller 2013-11-10 23:22:49 -08:00
parent 8adfb9643d
commit ce56e727c9
1 changed files with 2 additions and 2 deletions

View File

@ -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 <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 @@ 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