diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2009-07-16 09:27:56 -0700 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2009-07-16 09:27:56 -0700 |
commit | 80c834ccac0b92cccd9756d4a2ec4cd4b46b6711 (patch) | |
tree | 151624c71a962c03f5d916f1bd0e516610d4c3ba /src/arch/x86/isa/insts/general_purpose/data_transfer/stack_operations.py | |
parent | 3f9b0cc5ca126950fcce5a9b5ebf2f485ee812f2 (diff) | |
download | gem5-80c834ccac0b92cccd9756d4a2ec4cd4b46b6711.tar.xz |
X86: Fix a number of places where the wrong form of a microop was used.
Diffstat (limited to 'src/arch/x86/isa/insts/general_purpose/data_transfer/stack_operations.py')
-rw-r--r-- | src/arch/x86/isa/insts/general_purpose/data_transfer/stack_operations.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/x86/isa/insts/general_purpose/data_transfer/stack_operations.py b/src/arch/x86/isa/insts/general_purpose/data_transfer/stack_operations.py index 82fdffc63..f4c8a4663 100644 --- a/src/arch/x86/isa/insts/general_purpose/data_transfer/stack_operations.py +++ b/src/arch/x86/isa/insts/general_purpose/data_transfer/stack_operations.py @@ -163,7 +163,7 @@ def macroop ENTER_I_I { # Pull the different components out of the immediate limm t1, imm zexti t2, t1, 15, dataSize=8 - srl t1, t1, 16 + srli t1, t1, 16 zexti t1, t1, 5, dataSize=8 # t1 is now the masked nesting level, and t2 is the amount of storage. @@ -174,7 +174,7 @@ def macroop ENTER_I_I { mov t6, t6, rsp, dataSize=asz # If the nesting level is zero, skip all this stuff. - subi t0, t1, t0, flags=(EZF,), dataSize=2 + sub t0, t1, t0, flags=(EZF,), dataSize=2 br label("skipLoop"), flags=(CEZF,) # If the level was 1, only push the saved rbp |