Y
Hacker News
new
|
ask
|
show
|
jobs
by
Dork1234
129 days ago
By going to godbolt Just realized how hard it is to generate x87 FPU code these days. Almost all supported compilers are outputing XMM? SSE instructions these days.
2 comments
burnt-resistor
128 days ago
You're doing it wrong.
GCC: -mfpmath=387
Clang: -mfpmath=387 -mno-sse
link
shawn_w
128 days ago
Use a 32 bit x86 target?
link
GCC: -mfpmath=387
Clang: -mfpmath=387 -mno-sse