mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-05 19:50:23 +02:00
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.
This commit is contained in:
parent
678e72484c
commit
da4c3f365a
2 changed files with 8 additions and 2 deletions
|
@ -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>
|
2013-02-19 Paulo Andrade <pcpa@gnu.org>
|
||||||
|
|
||||||
* doc/body.texi: Add back the SPARC code generation example.
|
* doc/body.texi: Add back the SPARC code generation example.
|
||||||
|
|
|
@ -718,8 +718,8 @@ programmer would write):
|
||||||
@item SPARC
|
@item SPARC
|
||||||
@example
|
@example
|
||||||
save %sp, -112, %sp
|
save %sp, -112, %sp
|
||||||
mov %i0, %g2 ret
|
mov %i0, %g2 retl
|
||||||
inc %g2 inc %i0
|
inc %g2 inc %o0
|
||||||
mov %g2, %i0
|
mov %g2, %i0
|
||||||
restore
|
restore
|
||||||
retl
|
retl
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue