Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r78070 - in trunk/libs/context/doc: . pdf
From: oliver.kowalke_at_[hidden]
Date: 2012-04-18 14:33:57


Author: olli
Date: 2012-04-18 14:33:57 EDT (Wed, 18 Apr 2012)
New Revision: 78070
URL: http://svn.boost.org/trac/boost/changeset/78070

Log:
context: update documentation related to FPU registers and calling conventions

Added:
   trunk/libs/context/doc/pdf/calling-conventions.pdf (contents, props changed)
Text files modified:
   trunk/libs/context/doc/rationale.qbk | 9 ++++++---
   1 files changed, 6 insertions(+), 3 deletions(-)

Added: trunk/libs/context/doc/pdf/calling-conventions.pdf
==============================================================================
Binary file. No diff available.

Modified: trunk/libs/context/doc/rationale.qbk
==============================================================================
--- trunk/libs/context/doc/rationale.qbk (original)
+++ trunk/libs/context/doc/rationale.qbk 2012-04-18 14:33:57 EDT (Wed, 18 Apr 2012)
@@ -98,8 +98,10 @@
 
 [heading i386]
 
-"The FpCsr and the MxCsr register must be saved an restored before any call or return
+"The FpCsr and the MxCsr register must be saved and restored before any call or return
 by any procedure that needs to modify them ..."
+[footnote [@boost:/libs/context/doc/pdf/calling-conventions.pdf 'Calling Conventions',
+Agner Fog]].
 
 
 [heading x86_64]
@@ -127,10 +129,11 @@
 'Legacy Floating-Point Support']].
 
 "The 64-bit Microsoft compiler does not use ST(0)-ST(7)/MM0-MM7".
-[footnote [@ 'Calling Conventions', Agner Fog]].
+[footnote [@boost:/libs/context/doc/pdf/calling-conventions.pdf 'Calling Conventions',
+Agner Fog]].
 
 Conclusion: because no explicit calling convetion exists and MS compiler do not use those
-registers __start_fcontext__ and __jump_fcontext__ do not preserve those registers.
+registers, those registers will not be preserved.
 
 "XMM6-XMM15 must be preserved"
 [footnote [@http://msdn.microsoft.com/en-us/library/9z1stfyw%28v=vs.90%29.aspx MSDN


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk