diff options
Diffstat (limited to 'src/arch/x86/isa/insts/general_purpose/control_transfer/call.py')
-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 }; ''' |