summaryrefslogtreecommitdiff
path: root/src/arch/x86/isa/insts/simd128/integer
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2009-08-17 18:15:24 -0700
committerGabe Black <gblack@eecs.umich.edu>2009-08-17 18:15:24 -0700
commit6457fb7003157dfe6c4c910b6dfae8824cab4356 (patch)
tree4a62d86dfea16fe917b32571ace5ca7e67ddae36 /src/arch/x86/isa/insts/simd128/integer
parent191590bcc4fcdc08da34c94723ade57f8eb9e948 (diff)
downloadgem5-6457fb7003157dfe6c4c910b6dfae8824cab4356.tar.xz
X86: Implement the versions of MOVD that have an MMX destination.
Diffstat (limited to 'src/arch/x86/isa/insts/simd128/integer')
-rw-r--r--src/arch/x86/isa/insts/simd128/integer/data_transfer/move.py15
1 files changed, 13 insertions, 2 deletions
diff --git a/src/arch/x86/isa/insts/simd128/integer/data_transfer/move.py b/src/arch/x86/isa/insts/simd128/integer/data_transfer/move.py
index 4bee18c19..f6740a0ea 100644
--- a/src/arch/x86/isa/insts/simd128/integer/data_transfer/move.py
+++ b/src/arch/x86/isa/insts/simd128/integer/data_transfer/move.py
@@ -54,11 +54,22 @@
# Authors: Gabe Black
microcode = '''
-# MOVD
+def macroop MOVD_MMX_R {
+ mov2fp mmx, regm, srcSize=dsz, destSize=8
+};
+
+def macroop MOVD_MMX_M {
+ ldfp mmx, seg, sib, disp, dataSize=8
+};
+
+def macroop MOVD_MMX_P {
+ rdip t7
+ ldfp mmx, seg, riprel, disp, dataSize=8
+};
+'''
# MOVQ
# MOVDQA
# MOVDQU
# MOVDQ2Q
# MOVQ2DQ
# LDDQU
-'''