From: Gabe Black Date: Mon, 30 Jul 2007 20:28:31 +0000 (-0700) Subject: X86: Force jumps to use 64 bit operand size. X-Git-Tag: m5_2.0_beta4~238 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dbc979b9e283e39562c425f97d15802bdb958452;p=gem5.git X86: Force jumps to use 64 bit operand size. --HG-- extra : convert_revision : 1c3685e7f4d07d5b4ded6c78b794964f51a358a9 --- diff --git a/src/arch/x86/isa/insts/control_transfer/jump.py b/src/arch/x86/isa/insts/control_transfer/jump.py index 158861a3d..0df84cbe8 100644 --- a/src/arch/x86/isa/insts/control_transfer/jump.py +++ b/src/arch/x86/isa/insts/control_transfer/jump.py @@ -226,17 +226,26 @@ def macroop JMP_I def macroop JMP_R { + # Make the default data size of jumps 64 bits in 64 bit mode + .adjust_env oszIn64Override + wripi reg, 0 }; def macroop JMP_M { + # Make the default data size of jumps 64 bits in 64 bit mode + .adjust_env oszIn64Override + ld t1, ds, [scale, index, base], disp wripi t1, 0 }; def macroop JMP_P { + # Make the default data size of jumps 64 bits in 64 bit mode + .adjust_env oszIn64Override + rdip t7 ld t1, ds, [0, t0, t7], disp wripi t1, 0