X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=docs%2Fusers_guide%2Fusing.xml;h=329c31fffc08945540e3b42b6f7a810b0451b74d;hp=eb6b0c00b8bf13cb83311a935af2b36a7432a52c;hb=335b9f366ac440259318777c4c07e4fa42fbbec6;hpb=d9f7177402769968e8f42b49c1941661e18c5773 diff --git a/docs/users_guide/using.xml b/docs/users_guide/using.xml index eb6b0c0..329c31f 100644 --- a/docs/users_guide/using.xml +++ b/docs/users_guide/using.xml @@ -2074,9 +2074,27 @@ f "2" = 2 + : + + + (x86 only, added in GHC 6.14.1) Use the SSE2 registers and + instruction set to implement floating point operations + when using the native code generator. This gives a + substantial performance improvement for floating point, + but the resulting compiled code will only run on + processors that support SSE2 (Intel Pentium 4 and later, + or AMD Athlon 64 and later). + + + SSE2 is unconditionally used on x86-64 platforms. + + + + + : - (iX86 machines)-monly-N-regs + (x86 only)-monly-N-regs option (iX86 only) GHC tries to “steal” four registers from GCC, for performance reasons; it almost always works. However, when GCC is