summaryrefslogtreecommitdiff
path: root/src/arch/x86/isa/insts
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/x86/isa/insts')
-rw-r--r--src/arch/x86/isa/insts/simd128/integer/data_reordering/unpack_and_interleave.py19
-rw-r--r--src/arch/x86/isa/insts/simd64/integer/data_reordering/unpack_and_interleave.py16
2 files changed, 33 insertions, 2 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 0bf063ede..9049350f8 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
@@ -89,10 +89,27 @@ def macroop PUNPCKLWD_XMM_P {
unpack xmmh, xmml, ufp1, sel=1, size=2
unpack xmml, xmml, ufp1, sel=0, size=2
};
+
+def macroop PUNPCKLDQ_XMM_XMM {
+ unpack xmmh, xmml, xmmlm, sel=1, size=4
+ unpack xmml, xmml, xmmlm, sel=0, size=4
+};
+
+def macroop PUNPCKLDQ_XMM_M {
+ ldfp ufp1, seg, sib, disp, dataSize=8
+ unpack xmmh, xmml, ufp1, sel=1, size=4
+ unpack xmml, xmml, ufp1, sel=0, size=4
+};
+
+def macroop PUNPCKLDQ_XMM_P {
+ rdip t7
+ ldfp ufp1, seg, riprel, disp, dataSize=8
+ unpack xmmh, xmml, ufp1, sel=1, size=4
+ unpack xmml, xmml, ufp1, sel=0, size=4
+};
'''
# PUNPCKHBW
# PUNPCKHWD
# PUNPCKHDQ
# PUNPCKHQDQ
-# PUNPCKLDQ
# PUNPCKLQDQ
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 196706c9b..46d99f1b4 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
@@ -83,8 +83,22 @@ def macroop PUNPCKLWD_MMX_P {
ldfp ufp1, seg, riprel, disp, dataSize=8
unpack mmx, mmx, ufp1, sel=0, size=2
};
+
+def macroop PUNPCKLDQ_MMX_MMX {
+ unpack mmx, mmx, mmxm, sel=0, size=4
+};
+
+def macroop PUNPCKLDQ_MMX_M {
+ ldfp ufp1, seg, sib, disp, dataSize=8
+ unpack mmx, mmx, ufp1, sel=0, size=4
+};
+
+def macroop PUNPCKLDQ_MMX_P {
+ rdip t7
+ ldfp ufp1, seg, riprel, disp, dataSize=8
+ unpack mmx, mmx, ufp1, sel=0, size=4
+};
'''
# PUNPCKHBW
# PUNPCKHWD
# PUNPCKHDQ
-# PUNPCKLDQ