X86: Set up RIP relative LEA instructions operands correctly.
authorGabe Black <gblack@eecs.umich.edu>
Mon, 30 Jul 2007 22:41:08 +0000 (15:41 -0700)
committerGabe Black <gblack@eecs.umich.edu>
Mon, 30 Jul 2007 22:41:08 +0000 (15:41 -0700)
--HG--
extra : convert_revision : 820cafadd550487c0d62c5082261b0886fce4f0d

src/arch/x86/isa/insts/load_effective_address.py

index dcaf9778e6adac049de82d4074cfe23bd85450c8..fc8b176292f2cc8afb66cf2a64c5796507586c37 100644 (file)
@@ -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
 };
 '''