~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:
005cd27
)
base/asm-common.h: Implement the `r' decorator for `MEM' accesses.
author
Mark Wooding
<mdw@distorted.org.uk>
Sun, 18 Aug 2019 01:17:13 +0000
(
02:17
+0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Sun, 8 Sep 2019 10:37:54 +0000
(11:37 +0100)
I think this was an unintentional omission.
base/asm-common.h
patch
|
blob
|
blame
|
history
diff --git
a/base/asm-common.h
b/base/asm-common.h
index
7d46579
..
040250b
100644
(file)
--- a/
base/asm-common.h
+++ b/
base/asm-common.h
@@
-290,11
+290,13
@@
name:
# define _DECOR_abcd_r(reg) e##reg##x
# define _DECOR_xp_r(reg) e##reg
# define _DECOR_ip_r(reg) e##reg
+# define _DECOR_mem_r(addr) dword ptr addr
#endif
#if CPUFAM_AMD64
# define _DECOR_abcd_r(reg) r##reg##x
# define _DECOR_xp_r(reg) r##reg
# define _DECOR_ip_r(reg) r##reg
+# define _DECOR_mem_r(addr) qword ptr addr
#endif
// R_r(decor) applies decoration decor to register r, which is an internal