On a Pentium 4 running Linux Fedora Core 10 and using icc 11.1, is there a way to cause the compiler to use just the x87 FPU (and not use the SSE FPU)? I have looked at the various compiler options and I see ways to specify various levels of SSE, but nothing to do just x87.
For the 32-bit icc, -mia32 specifies x87 code only, no SSE. For 64-bit icc, -O0 or '-O1 -mp' may produce x87 code. As SSE2 was present in the first CPUs for x86_64, there isn't any requirement for x87 except when supporting 80-bit long double.