From: Gabe Black Date: Mon, 30 Jul 2007 22:41:08 +0000 (-0700) Subject: X86: Set up RIP relative LEA instructions operands correctly. X-Git-Tag: m5_2.0_beta4~229 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=890e583163cd593cb683dc523dceab83fe9d6bc8;p=gem5.git X86: Set up RIP relative LEA instructions operands correctly. --HG-- extra : convert_revision : 820cafadd550487c0d62c5082261b0886fce4f0d --- 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 }; '''