~mdw
/
catacomb
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
42c44b2
)
base/asm-common.h: Use `push' and `pop', for Thumb compatibility.
author
Mark Wooding
<mdw@distorted.org.uk>
Mon, 2 Sep 2019 11:53:54 +0000
(12:53 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Sun, 8 Sep 2019 10:38:19 +0000
(11:38 +0100)
I still prefer `stmfd' and `ldmfd' for general code, but these are
important macros for which Thumb compatibility might be valuable.
base/asm-common.h
patch
|
blob
|
blame
|
history
diff --git
a/base/asm-common.h
b/base/asm-common.h
index
1dfb633
..
642820a
100644
(file)
--- a/
base/asm-common.h
+++ b/
base/asm-common.h
@@
-1022,12
+1022,12
@@
name:
.endm
.macro pushreg rr:vararg
.endm
.macro pushreg rr:vararg
-
stmfd sp!,
{\rr}
+
push
{\rr}
.save {\rr}
.endm
.macro popreg rr:vararg
.save {\rr}
.endm
.macro popreg rr:vararg
-
ldmfd sp!,
{\rr}
+
pop
{\rr}
.endm
.macro pushvfp rr:vararg
.endm
.macro pushvfp rr:vararg