diff --git a/Makefile b/Makefile index d9dd6b4731..2eb9d74495 100644 --- a/Makefile +++ b/Makefile @@ -57,7 +57,7 @@ endif INCLUDE=include MDEFINES=-DU2_OS_$(OS) -DU2_OS_ENDIAN_$(ENDIAN) -D U2_LIB=\"$(LIB)\" -CFLAGS= -O2 -g \ +CFLAGS= -O2 -g -msse3 -ffast-math \ -funsigned-char \ -I/usr/local/include \ -I/opt/local/include \ diff --git a/v/main.c b/v/main.c index 14d0fd59f8..c4dda2a843 100644 --- a/v/main.c +++ b/v/main.c @@ -18,6 +18,8 @@ #include #include #include +#include +#include #define U2_GLOBAL #define C3_GLOBAL @@ -248,6 +250,9 @@ main(c3_i argc, { c3_w kno_w; + _MM_SET_FLUSH_ZERO_MODE(_MM_FLUSH_ZERO_ON); + _MM_SET_DENORMALS_ZERO_MODE(_MM_DENORMALS_ZERO_ON); + // Parse options. // if ( u2_no == _main_getopt(argc, argv) ) {