From 3c0490d192453fad6827c29dfc21af2587772dad Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Sun, 18 Aug 2019 02:17:13 +0100 Subject: [PATCH] base/asm-common.h: Implement the `r' decorator for `MEM' accesses. I think this was an unintentional omission. --- base/asm-common.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/base/asm-common.h b/base/asm-common.h index 7d465791..040250ba 100644 --- 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 -- 2.11.0