summaryrefslogtreecommitdiff
path: root/src/arch/x86/isa/insts
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2009-08-17 18:21:09 -0700
committerGabe Black <gblack@eecs.umich.edu>2009-08-17 18:21:09 -0700
commitcfaeb5eaf7d1aaa6dad7c8677c8829ac1be5c90b (patch)
tree191c8bc08491d4398df09d138d5f5dd7afa3bf33 /src/arch/x86/isa/insts
parentaabbb22cca3d3f759a55d2108504b6409e7ba402 (diff)
downloadgem5-cfaeb5eaf7d1aaa6dad7c8677c8829ac1be5c90b.tar.xz
X86: Implement PUNPCKHQDQ.
Diffstat (limited to 'src/arch/x86/isa/insts')
-rw-r--r--src/arch/x86/isa/insts/simd128/integer/data_reordering/unpack_and_interleave.py21
1 files changed, 20 insertions, 1 deletions
diff --git a/src/arch/x86/isa/insts/simd128/integer/data_reordering/unpack_and_interleave.py b/src/arch/x86/isa/insts/simd128/integer/data_reordering/unpack_and_interleave.py
index 0e11b5aba..9ae617d36 100644
--- a/src/arch/x86/isa/insts/simd128/integer/data_reordering/unpack_and_interleave.py
+++ b/src/arch/x86/isa/insts/simd128/integer/data_reordering/unpack_and_interleave.py
@@ -167,6 +167,25 @@ def macroop PUNPCKHDQ_XMM_P {
unpack xmml, xmmh, ufp1, sel=0, size=4
unpack xmmh, xmmh, ufp1, sel=1, size=4
};
+
+def macroop PUNPCKHQDQ_XMM_XMM {
+ movfp xmml, xmmh
+ movfp xmmh, xmmhm
+};
+
+def macroop PUNPCKHQDQ_XMM_M {
+ lea t1, seg, sib, disp, dataSize=asz
+ ldfp ufp1, seg, [1, t0, t1], 8, dataSize=8
+ movfp xmml, xmmh
+ movfp xmmh, ufp1
+};
+
+def macroop PUNPCKHQDQ_XMM_P {
+ rdip t7
+ lea t1, seg, riprel, disp, dataSize=asz
+ ldfp ufp1, seg, riprel, 8, dataSize=8
+ movfp xmml, xmmh
+ movfp xmmh, ufp1
+};
'''
-# PUNPCKHQDQ
# PUNPCKLQDQ