[PATCH] doc: Clarify SPARC floating point ABI

Alexander Krutwig alexander.krutwig at embedded-brains.de
Tue May 5 13:34:23 UTC 2015


---
 doc/cpu_supplement/sparc.t | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/doc/cpu_supplement/sparc.t b/doc/cpu_supplement/sparc.t
index d21e9fe..740643a 100644
--- a/doc/cpu_supplement/sparc.t
+++ b/doc/cpu_supplement/sparc.t
@@ -425,10 +425,15 @@ f4, ... f30)
 f8, ... f28)
 @end itemize
 
-The floating point status register (fpsr) specifies
+The floating point status register (FSR) specifies
 the behavior of the floating point unit for rounding, contains
 its condition codes, version specification, and trap information.
 
+According to the ABI all floating point registers and the floating point status
+register (FSR) are volatile.  Thus the floating point context of a thread is the
+empty set.  The rounding direction is a system global state and must not be
+modified by threads.
+
 A queue of the floating point instructions which have
 started execution but not yet completed is maintained.  This
 queue is needed to support the multiple cycle nature of floating
-- 
1.8.4.5



More information about the devel mailing list