summaryrefslogtreecommitdiff
path: root/src/arch/x86/isa/insts/data_transfer/stack_operations.py
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2007-06-21 20:35:27 +0000
committerGabe Black <gblack@eecs.umich.edu>2007-06-21 20:35:27 +0000
commit70d6044527d6e6dfaf2de6674ae412706b6e131c (patch)
treef4fc2b74cc2267d85f84db16694107a2bbbf973d /src/arch/x86/isa/insts/data_transfer/stack_operations.py
parentec24de8b59e174b93b7c42669d71fe61db296688 (diff)
downloadgem5-70d6044527d6e6dfaf2de6674ae412706b6e131c.tar.xz
Make symbols for regular registers.
--HG-- extra : convert_revision : 28a6df1efe4298877dc2b20179caeb25dfdc4622
Diffstat (limited to 'src/arch/x86/isa/insts/data_transfer/stack_operations.py')
-rw-r--r--src/arch/x86/isa/insts/data_transfer/stack_operations.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/arch/x86/isa/insts/data_transfer/stack_operations.py b/src/arch/x86/isa/insts/data_transfer/stack_operations.py
index ca2443752..585437b8c 100644
--- a/src/arch/x86/isa/insts/data_transfer/stack_operations.py
+++ b/src/arch/x86/isa/insts/data_transfer/stack_operations.py
@@ -58,16 +58,16 @@ def macroop POP_R {
# Make the default data size of pops 64 bits in 64 bit mode
.adjust_env oszIn64Override
- ld reg, ss, [0, t0, "INTREG_RSP"]
- addi "INTREG_RSP", "INTREG_RSP", dsz
+ ld reg, ss, [0, t0, rsp]
+ addi rsp, rsp, dsz
};
def macroop PUSH_R {
# Make the default data size of pops 64 bits in 64 bit mode
.adjust_env oszIn64Override
- subi "INTREG_RSP", "INTREG_RSP", dsz
- st reg, ss, [0, t0, "INTREG_RSP"]
+ subi rsp, rsp, dsz
+ st reg, ss, [0, t0, rsp]
};
'''
#let {{