summaryrefslogtreecommitdiff
path: root/src/arch/x86/isa/insts
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2007-10-12 20:08:12 -0700
committerGabe Black <gblack@eecs.umich.edu>2007-10-12 20:08:12 -0700
commit0d6383b69e75dc9e5b3c9b45a62f5a472657fa85 (patch)
tree4c64cabd54259a7589015012560f9182771b0d4f /src/arch/x86/isa/insts
parentd82d3bbda5b5860c5a69816ebbb8ae217c4bcef4 (diff)
downloadgem5-0d6383b69e75dc9e5b3c9b45a62f5a472657fa85.tar.xz
X86: Added some new versions of MOV and a new argument type tag.
--HG-- extra : convert_revision : e21b2062d68baa983c7c631b3e1fe3149de56427
Diffstat (limited to 'src/arch/x86/isa/insts')
-rw-r--r--src/arch/x86/isa/insts/general_purpose/data_transfer/move.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/arch/x86/isa/insts/general_purpose/data_transfer/move.py b/src/arch/x86/isa/insts/general_purpose/data_transfer/move.py
index a248f5656..04f9ea12a 100644
--- a/src/arch/x86/isa/insts/general_purpose/data_transfer/move.py
+++ b/src/arch/x86/isa/insts/general_purpose/data_transfer/move.py
@@ -59,6 +59,16 @@ microcode = '''
# Regular moves
#
+def macroop MOV_R_MI {
+ limm t1, imm
+ ld reg, seg, [1, t0, t1]
+};
+
+def macroop MOV_MI_R {
+ limm t1, imm
+ st reg, seg, [1, t0, t1]
+};
+
def macroop MOV_R_R {
mov reg, reg, regm
};