wingo pushed a commit to branch lightning
in repository guile.
commit da4c3f365a90c7b3afdefae4663b0ffb615edd93
Author: pcpa <[email protected]>
Date: Wed Feb 20 15:37:11 2013 -0300
Correct SPARC optimized assembly example in documentation
* doc/body.texi: Fool proof validate the examples of what
an assembly-language programmer would write and correct the
wrong sparc example.
---
ChangeLog | 6 ++++++
doc/body.texi | 4 ++--
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 0d6007f..16ba88d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2013-02-20 Paulo Andrade <[email protected]>
+
+ * doc/body.texi: Fool proof validate the examples of what
+ an assembly-language programmer would write and correct the
+ wrong sparc example.
+
2013-02-19 Paulo Andrade <[email protected]>
* doc/body.texi: Add back the SPARC code generation example.
diff --git a/doc/body.texi b/doc/body.texi
index 7d3099d..c9c3b29 100644
--- a/doc/body.texi
+++ b/doc/body.texi
@@ -718,8 +718,8 @@ programmer would write):
@item SPARC
@example
save %sp, -112, %sp
- mov %i0, %g2 ret
- inc %g2 inc %i0
+ mov %i0, %g2 retl
+ inc %g2 inc %o0
mov %g2, %i0
restore
retl