summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2007-07-30 15:41:08 -0700
committerGabe Black <gblack@eecs.umich.edu>2007-07-30 15:41:08 -0700
commit890e583163cd593cb683dc523dceab83fe9d6bc8 (patch)
tree931f92aa361b8e8626ea92ee2beb04f55d2129c4 /src
parent44c3419e1a0dbf6f222955f627b45192da2ad12e (diff)
downloadgem5-890e583163cd593cb683dc523dceab83fe9d6bc8.tar.xz
X86: Set up RIP relative LEA instructions operands correctly.
--HG-- extra : convert_revision : 820cafadd550487c0d62c5082261b0886fce4f0d
Diffstat (limited to 'src')
-rw-r--r--src/arch/x86/isa/insts/load_effective_address.py2
1 files changed, 1 insertions, 1 deletions
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
};
'''