X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=docs%2Fusers_guide%2Fusing.xml;h=6ffdf2a4189835d948decd5046b00478ea84c728;hb=7dbc1d8f8fb650162e01f6eab8dabaf1f53c819d;hp=af7950cd80b2d1c23203cc81efb8e273f74f993e;hpb=eca1e7e7becd3d444be45850031e3fa35bccd55d;p=ghc-hetmet.git
diff --git a/docs/users_guide/using.xml b/docs/users_guide/using.xml
index af7950c..6ffdf2a 100644
--- a/docs/users_guide/using.xml
+++ b/docs/users_guide/using.xml
@@ -1667,6 +1667,26 @@ f "2" = 2
+
+
+
+
+ Turns off the float-in transformation.
+
+
+
+
+
+
+
+
+
+ Turns off the automatic specialisation of overloaded functions.
+
+
+
+
+
@@ -1821,7 +1841,7 @@ f "2" = 2
special option or libraries compiled in a certain way. To get access to
the support libraries for Concurrent Haskell, just import
Control.Concurrent. More information on Concurrent Haskell is provided in the documentation for that module.
+ url="&libraryBaseLocation;/Control-Concurrent.html">Control.Concurrent. More information on Concurrent Haskell is provided in the documentation for that module.
The following RTS option(s) affect the behaviour of Concurrent
Haskell programs:RTS options, concurrent
@@ -1951,6 +1971,10 @@ f "2" = 2
There is no means (currently) by which this value
may vary after the program has started.
+
+ The current value of the option
+ is available to the Haskell program
+ via GHC.Conc.numCapabilities.
@@ -1960,6 +1984,17 @@ f "2" = 2
+
+ RTS
+ option
+
+ Use the OS's affinity facilities to try to pin OS
+ threads to CPU cores. This is an experimental feature,
+ and may or may not be useful. Please let us know
+ whether it helps for you!
+
+
+ RTS
option
@@ -1967,9 +2002,16 @@ f "2" = 2
Disable automatic migration for load balancing.
Normally the runtime will automatically try to schedule
threads across the available CPUs to make use of idle
- CPUs; this option disables that behaviour. It is probably
- only of use if you are explicitly scheduling threads onto
- CPUs with GHC.Conc.forkOnIO.
+ CPUs; this option disables that behaviour. Note that
+ migration only applies to threads; sparks created
+ by par are load-balanced separately
+ by work-stealing.
+
+
+ This option is probably only of use for concurrent
+ programs that explicitly schedule threads onto CPUs
+ with GHC.Conc.forkOnIO.
+
@@ -2032,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
@@ -2065,7 +2125,7 @@ statements or clauses.
GHC can dump its optimized intermediate code (said to be in “Core” format)
to a file as a side-effect of compilation. Non-GHC back-end tools can read and process Core files; these files have the suffix
- .hcr. The Core format is described in
+ .hcr. The Core format is described in An External Representation for the GHC Core Language,
and sample tools
for manipulating Core files (in Haskell) are in the GHC source distribution