3 ms·
The makefile supplied with the repo specifies -ffast-math. It uses these CFLAGS: CFLAGS=-s -O3 -msse -mfpmath=sse -ffast-math -fomit-frame-pointer -IBox2D_
by dmm 14y ago
The makefile supplied with the repo specifies -ffast-math. It uses these CFLAGS:
CFLAGS=-s -O3 -msse -mfpmath=sse -ffast-math -fomit-frame-pointer -IBox2D_v2.2.1 -DNDEBUG=1
Using -Ofast gets the same results as -O2.
- gillianseed 14y agoThanks for the info, I should have guessed that he enabled -ffast-math manually.