File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
apps/linear_algebra/benchmarks Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 11#include " halide_benchmark.h"
22
33#ifdef ENABLE_FTZ_DAZ
4- #if defined(__i386__) || defined(__x86_64__)
4+ #if ( defined(__i386__) || defined(__x86_64__)) && defined(__SSE__ )
55#include < pmmintrin.h>
66#include < xmmintrin.h>
7- #endif // defined(__i386__) || defined(__x86_64__)
7+ #endif // ( defined(__i386__) || defined(__x86_64__)) && defined(__SSE__ )
88#endif
99
1010inline void set_math_flags () {
1111#ifdef ENABLE_FTZ_DAZ
1212
13- #if defined(__i386__) || defined(__x86_64__)
13+ #if ( defined(__i386__) || defined(__x86_64__)) && defined(__SSE__ )
1414 // Flush denormals to zero (the FTZ flag).
1515 _MM_SET_FLUSH_ZERO_MODE (_MM_FLUSH_ZERO_ON);
1616 // Interpret denormal inputs as zero (the DAZ flag).
You can’t perform that action at this time.
0 commit comments