diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2007-07-30 13:28:31 -0700 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2007-07-30 13:28:31 -0700 |
commit | dbc979b9e283e39562c425f97d15802bdb958452 (patch) | |
tree | e7ac5fc06b7aa36de50afbd87f9bb4c53668fb98 /src | |
parent | bae96272a1630cd622f657a26d848784815c8c2b (diff) | |
download | gem5-dbc979b9e283e39562c425f97d15802bdb958452.tar.xz |
X86: Force jumps to use 64 bit operand size.
--HG--
extra : convert_revision : 1c3685e7f4d07d5b4ded6c78b794964f51a358a9
Diffstat (limited to 'src')
-rw-r--r-- | src/arch/x86/isa/insts/control_transfer/jump.py | 9 |
1 files changed, 9 insertions, 0 deletions
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 |