base/asm-common.h: Implement the `r' decorator for `MEM' accesses.
authorMark Wooding <mdw@distorted.org.uk>
Sun, 18 Aug 2019 01:17:13 +0000 (02:17 +0100)
committerMark 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

index 7d46579..040250b 100644 (file)
@@ -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