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 4204a8cc1a..31b81e9e08 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 @@ -45,7 +45,7 @@ def macroop CALL_NEAR_I rdip t7 # Check target of call stis t7, ss, [0, t0, rsp], "-env.dataSize" - subi rsp, rsp, ssz + subi rsp, rsp, dsz wrip t7, t1 }; @@ -59,7 +59,7 @@ def macroop CALL_NEAR_R rdip t1 # Check target of call stis t1, ss, [0, t0, rsp], "-env.dataSize" - subi rsp, rsp, ssz + subi rsp, rsp, dsz wripi reg, 0 }; @@ -74,7 +74,7 @@ def macroop CALL_NEAR_M ld t1, seg, sib, disp # Check target of call st t7, ss, [0, t0, rsp], "-env.dataSize" - subi rsp, rsp, ssz + subi rsp, rsp, dsz wripi t1, 0 }; @@ -89,7 +89,7 @@ def macroop CALL_NEAR_P ld t1, seg, riprel, disp # Check target of call st t7, ss, [0, t0, rsp], "-env.dataSize" - subi rsp, rsp, ssz + subi rsp, rsp, dsz wripi t1, 0 }; '''