summaryrefslogtreecommitdiff
path: root/src/arch/x86
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/x86')
-rw-r--r--src/arch/x86/isa/decoder/two_byte_opcodes.isa2
-rw-r--r--src/arch/x86/isa/insts/simd128/integer/data_reordering/unpack_and_interleave.py14
2 files changed, 14 insertions, 2 deletions
diff --git a/src/arch/x86/isa/decoder/two_byte_opcodes.isa b/src/arch/x86/isa/decoder/two_byte_opcodes.isa
index fd07f3192..3e1bc5cfb 100644
--- a/src/arch/x86/isa/decoder/two_byte_opcodes.isa
+++ b/src/arch/x86/isa/decoder/two_byte_opcodes.isa
@@ -595,7 +595,7 @@
0x1: Inst::PUNPCKHWD(Vo,Wo);
0x2: Inst::PUNPCKHDQ(Vo,Wo);
0x3: packssdw_Vo_Wo();
- 0x4: punpcklqdq_Vo_Wq();
+ 0x4: Inst::PUNPCKLQDQ(Vo,Wq);
0x5: Inst::PUNPCKHQDQ(Vo,Wq);
0x6: movd_Vo_Ed();
0x7: movdqa_Vo_Wo();
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 9ae617d36..be58a2551 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
@@ -187,5 +187,17 @@ def macroop PUNPCKHQDQ_XMM_P {
movfp xmml, xmmh
movfp xmmh, ufp1
};
+
+def macroop PUNPCKLQDQ_XMM_XMM {
+ movfp xmmh, xmmlm
+};
+
+def macroop PUNPCKLQDQ_XMM_M {
+ ldfp xmmh, seg, sib, disp, dataSize=8
+};
+
+def macroop PUNPCKLQDQ_XMM_P {
+ rdip t7
+ ldfp xmmh, seg, riprel, disp, dataSize=8
+};
'''
-# PUNPCKLQDQ