diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2007-06-14 13:52:08 +0000 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2007-06-14 13:52:08 +0000 |
commit | 752199f8279823088783103616cc41fa47a4b7ea (patch) | |
tree | d513bf6a97db94834053f338ce5ec5c80c65d936 /src/arch/x86/isa/insts | |
parent | cd3fee1b81ad3c33733ed55e20d00464cdf791f5 (diff) | |
download | gem5-752199f8279823088783103616cc41fa47a4b7ea.tar.xz |
Make POP special case its dataSize to default to 64 bits in 64 bit mode.
--HG--
extra : convert_revision : 5c6251d962d9997676ffc795bb92eeb588caed39
Diffstat (limited to 'src/arch/x86/isa/insts')
-rw-r--r-- | src/arch/x86/isa/insts/data_transfer/stack_operations.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/arch/x86/isa/insts/data_transfer/stack_operations.py b/src/arch/x86/isa/insts/data_transfer/stack_operations.py index 3223d9b0f..fff0f749f 100644 --- a/src/arch/x86/isa/insts/data_transfer/stack_operations.py +++ b/src/arch/x86/isa/insts/data_transfer/stack_operations.py @@ -55,6 +55,7 @@ microcode = ''' def macroop POP { + .adjust_env "if(machInst.mode.submode == SixtyFourBitMode && env.dataSize == 4) env.dataSize = 8\;" # There needs to be a load here to actually "pop" the data addi "INTREG_RSP", "INTREG_RSP", "env.dataSize" }; |