Correct SPARC optimized assembly example in documentation - lightning.git - Portable just-in-time compiler library

index : lightning.git
Portable just-in-time compiler library
summary refs log tree commit diff
diff options
context:
space:
mode:
authorpcpa <paulo.cesar.pereira.de.andrade@gmail.com>2013年02月20日 15:37:11 -0300
committerpcpa <paulo.cesar.pereira.de.andrade@gmail.com>2013年02月20日 15:37:11 -0300
commitda4c3f365a90c7b3afdefae4663b0ffb615edd93 (patch)
treed0391cb3e65e22cf1d9da03a906f234fa5731666
parent678e72484c859c3f740c7723da55a8fc90654f99 (diff)
downloadlightning-da4c3f365a90c7b3afdefae4663b0ffb615edd93.tar.gz
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.
Diffstat
-rw-r--r--ChangeLog 6
-rw-r--r--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 <pcpa@gnu.org>
+
+ * 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 <pcpa@gnu.org>
* 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
generated by cgit v1.2.3 (git 2.39.1) at 2025年09月22日 14:51:51 +0000

AltStyle によって変換されたページ (->オリジナル) /