mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-26 00:12:28 +03:00
Fl Pt works.
The only failure I can get in the test suite is that signalling nan'n crash it, which is expected behavior anyway. Enables sse3 and fast-math.
This commit is contained in:
parent
bf1978bc3b
commit
bed7ddbb08
2
Makefile
2
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 \
|
||||
|
2
v/main.c
2
v/main.c
@ -18,6 +18,7 @@
|
||||
#include <termios.h>
|
||||
#include <term.h>
|
||||
#include <dirent.h>
|
||||
#include <pmmintrin.h>
|
||||
#include <xmmintrin.h>
|
||||
|
||||
#define U2_GLOBAL
|
||||
@ -250,6 +251,7 @@ 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.
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user