diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2007-10-21 18:45:46 -0700 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2007-10-21 18:45:46 -0700 |
commit | 43cb78004b73c3f98f3429cebb3f846a0f6ac8d3 (patch) | |
tree | a7629e25cc5f1fb660e204d15c8b68ca4989fd35 /src/arch/x86/isa/insts/general_purpose/control_transfer | |
parent | 4d15e4cf7b2c8eb1f2232e0cbcd09893e9cb9500 (diff) | |
download | gem5-43cb78004b73c3f98f3429cebb3f846a0f6ac8d3.tar.xz |
X86: Start using the stupd microop, and update statistics accordingly.
--HG--
extra : convert_revision : 4aa9daa4e19acfb3e6840ce5d83cf199e30c2f19
Diffstat (limited to 'src/arch/x86/isa/insts/general_purpose/control_transfer')
-rw-r--r-- | src/arch/x86/isa/insts/general_purpose/control_transfer/call.py | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/src/arch/x86/isa/insts/general_purpose/control_transfer/call.py b/src/arch/x86/isa/insts/general_purpose/control_transfer/call.py index f4f856974..45a7822fb 100644 --- a/src/arch/x86/isa/insts/general_purpose/control_transfer/call.py +++ b/src/arch/x86/isa/insts/general_purpose/control_transfer/call.py @@ -62,8 +62,7 @@ def macroop CALL_NEAR_I limm t1, imm rdip t7 # Check target of call - st t7, ss, [0, t0, rsp], "-env.dataSize" - subi rsp, rsp, dsz + stupd t7, ss, [0, t0, rsp], "-env.dataSize" wrip t7, t1 }; @@ -74,8 +73,7 @@ def macroop CALL_NEAR_R rdip t1 # Check target of call - st t1, ss, [0, t0, rsp], "-env.dataSize" - subi rsp, rsp, dsz + stupd t1, ss, [0, t0, rsp], "-env.dataSize" wripi reg, 0 }; @@ -87,8 +85,7 @@ def macroop CALL_NEAR_M rdip t7 ld t1, seg, sib, disp # Check target of call - st t7, ss, [0, t0, rsp], "-env.dataSize" - subi rsp, rsp, dsz + stupd t7, ss, [0, t0, rsp], "-env.dataSize" wripi t1, 0 }; @@ -100,8 +97,7 @@ def macroop CALL_NEAR_P rdip t7 ld t1, seg, riprel, disp # Check target of call - st t7, ss, [0, t0, rsp], "-env.dataSize" - subi rsp, rsp, dsz + stupd t7, ss, [0, t0, rsp], "-env.dataSize" wripi t1, 0 }; ''' |