From 890e583163cd593cb683dc523dceab83fe9d6bc8 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Mon, 30 Jul 2007 15:41:08 -0700 Subject: [PATCH] X86: Set up RIP relative LEA instructions operands correctly. --HG-- extra : convert_revision : 820cafadd550487c0d62c5082261b0886fce4f0d --- src/arch/x86/isa/insts/load_effective_address.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/arch/x86/isa/insts/load_effective_address.py b/src/arch/x86/isa/insts/load_effective_address.py index dcaf9778e..fc8b17629 100644 --- a/src/arch/x86/isa/insts/load_effective_address.py +++ b/src/arch/x86/isa/insts/load_effective_address.py @@ -60,6 +60,6 @@ def macroop LEA_R_M { def macroop LEA_R_P { rdip t7 - lea reg, ds, [scale, index, base], disp + lea reg, ds, [0, t0, t7], disp }; ''' -- 2.30.2