summaryrefslogtreecommitdiff
path: root/src/arch/x86/isa/insts/simd64
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2009-08-17 18:20:50 -0700
committerGabe Black <gblack@eecs.umich.edu>2009-08-17 18:20:50 -0700
commitaabbb22cca3d3f759a55d2108504b6409e7ba402 (patch)
tree9bfc30ce7ee9d391c372e1412934647eaa93628e /src/arch/x86/isa/insts/simd64
parent535ba241f8fa655c99afb0978fdd7e63c33dbe74 (diff)
downloadgem5-aabbb22cca3d3f759a55d2108504b6409e7ba402.tar.xz
X86: Implement PUNPCKHDQ.
Diffstat (limited to 'src/arch/x86/isa/insts/simd64')
-rw-r--r--src/arch/x86/isa/insts/simd64/integer/data_reordering/unpack_and_interleave.py16
1 files changed, 15 insertions, 1 deletions
diff --git a/src/arch/x86/isa/insts/simd64/integer/data_reordering/unpack_and_interleave.py b/src/arch/x86/isa/insts/simd64/integer/data_reordering/unpack_and_interleave.py
index b01f008e1..0743b43c5 100644
--- a/src/arch/x86/isa/insts/simd64/integer/data_reordering/unpack_and_interleave.py
+++ b/src/arch/x86/isa/insts/simd64/integer/data_reordering/unpack_and_interleave.py
@@ -128,5 +128,19 @@ def macroop PUNPCKHWD_MMX_P {
ldfp ufp1, seg, riprel, disp, dataSize=8
unpack mmx, mmx, ufp1, sel=1, size=2
};
+
+def macroop PUNPCKHDQ_MMX_MMX {
+ unpack mmx, mmx, mmxm, sel=1, size=4
+};
+
+def macroop PUNPCKHDQ_MMX_M {
+ ldfp ufp1, seg, sib, disp, dataSize=8
+ unpack mmx, mmx, ufp1, sel=1, size=4
+};
+
+def macroop PUNPCKHDQ_MMX_P {
+ rdip t7
+ ldfp ufp1, seg, riprel, disp, dataSize=8
+ unpack mmx, mmx, ufp1, sel=1, size=4
+};
'''
-# PUNPCKHDQ