changeset adbd07f1630d in /z/repo/m5
details: http://repo.m5sim.org/m5?cmd=changeset;node=adbd07f1630d
description:
        X86: Don't truncate the immediate parameter for the ENTER instruction.

diffstat:

1 file changed, 2 insertions(+), 2 deletions(-)
src/arch/x86/isa/insts/general_purpose/data_transfer/stack_operations.py |    4 
++--

diffs (15 lines):

diff -r 951199885fd8 -r adbd07f1630d 
src/arch/x86/isa/insts/general_purpose/data_transfer/stack_operations.py
--- a/src/arch/x86/isa/insts/general_purpose/data_transfer/stack_operations.py  
Thu Aug 06 21:44:42 2009 -0700
+++ b/src/arch/x86/isa/insts/general_purpose/data_transfer/stack_operations.py  
Fri Aug 07 10:12:29 2009 -0700
@@ -162,9 +162,9 @@
     # writes any values.
 
     # Pull the different components out of the immediate
-    limm t1, imm
+    limm t1, imm, dataSize=8
     zexti t2, t1, 15, dataSize=8
-    srli t1, t1, 16
+    srli t1, t1, 16, dataSize=8
     zexti t1, t1, 5, dataSize=8
     # t1 is now the masked nesting level, and t2 is the amount of storage.
 
_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev

Reply via email to