|
|
|
|
|
by moyix
1387 days ago
|
|
Nope, it still links in crtfastmath: $ gcc -Ofast -fno-unsafe-math-optimizations -fpic -shared foo.c -o foo.so
$ objdump -j .text --disassemble=set_fast_math foo.so
foo.so: file format elf64-x86-64
Disassembly of section .text:
0000000000001040 <set_fast_math>:
1040: f3 0f 1e fa endbr64
1044: 0f ae 5c 24 fc stmxcsr -0x4(%rsp)
1049: 81 4c 24 fc 40 80 00 orl $0x8040,-0x4(%rsp)
1050: 00
1051: 0f ae 54 24 fc ldmxcsr -0x4(%rsp)
1056: c3 retq
|
|