summaryrefslogtreecommitdiff
path: root/src/arch/x86/isa/insts
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2009-08-17 18:50:29 -0700
committerGabe Black <gblack@eecs.umich.edu>2009-08-17 18:50:29 -0700
commitdf1b3fdcfba3039122d8b2ded5e64200fec6eebd (patch)
tree71798e9571c0ddabe6371bda7d0cc6a35c15a937 /src/arch/x86/isa/insts
parentcf9634a43f2c211105b7a5dbed5237fe5884291f (diff)
downloadgem5-df1b3fdcfba3039122d8b2ded5e64200fec6eebd.tar.xz
X86: Implement the MOVDDUP instruction.
Diffstat (limited to 'src/arch/x86/isa/insts')
-rw-r--r--src/arch/x86/isa/insts/simd128/floating_point/data_transfer/move_with_duplication.py17
1 files changed, 16 insertions, 1 deletions
diff --git a/src/arch/x86/isa/insts/simd128/floating_point/data_transfer/move_with_duplication.py b/src/arch/x86/isa/insts/simd128/floating_point/data_transfer/move_with_duplication.py
index 096708393..539edfd74 100644
--- a/src/arch/x86/isa/insts/simd128/floating_point/data_transfer/move_with_duplication.py
+++ b/src/arch/x86/isa/insts/simd128/floating_point/data_transfer/move_with_duplication.py
@@ -54,7 +54,22 @@
# Authors: Gabe Black
microcode = '''
-# MOVDDUP
+def macroop MOVDDUP_XMM_XMM {
+ movfp xmmh, xmmlm, dataSize=8
+ movfp xmml, xmmlm, dataSize=8
+};
+
+def macroop MOVDDUP_XMM_M {
+ ldfp xmml, seg, sib, disp, dataSize=8
+ movfp xmmh, xmml, dataSize=8
+};
+
+def macroop MOVDDUP_XMM_P {
+ rdip t7
+ ldfp xmml, seg, riprel, disp, dataSize=8
+ movfp xmmh, xmml, dataSize=8
+};
+
# MOVSLDUP
# MOVSHDUP
'''