summaryrefslogtreecommitdiff
path: root/src/arch/x86/isa/insts/general_purpose/flags/push_and_pop.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/x86/isa/insts/general_purpose/flags/push_and_pop.py')
-rw-r--r--src/arch/x86/isa/insts/general_purpose/flags/push_and_pop.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/arch/x86/isa/insts/general_purpose/flags/push_and_pop.py b/src/arch/x86/isa/insts/general_purpose/flags/push_and_pop.py
index 87e9ef03a..fe60350c1 100644
--- a/src/arch/x86/isa/insts/general_purpose/flags/push_and_pop.py
+++ b/src/arch/x86/isa/insts/general_purpose/flags/push_and_pop.py
@@ -59,8 +59,7 @@ def macroop PUSHF {
# This should really read the whole flags register, not just user flags.
ruflags t1
- st t1, ss, [1, t0, rsp], "-env.dataSize"
- subi rsp, rsp, dsz
+ stupd t1, ss, [1, t0, rsp], "-env.dataSize"
};
def macroop POPF {