diff options
Diffstat (limited to 'src/arch/x86/isa/insts/simd128')
-rw-r--r-- | src/arch/x86/isa/insts/simd128/integer/data_reordering/unpack_and_interleave.py | 21 |
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 9049350f8..defa76a6a 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 @@ -107,8 +107,27 @@ def macroop PUNPCKLDQ_XMM_P { unpack xmmh, xmml, ufp1, sel=1, size=4 unpack xmml, xmml, ufp1, sel=0, size=4 }; + +def macroop PUNPCKHBW_XMM_XMM { + unpack xmml, xmmh, xmmhm, sel=0, size=1 + unpack xmmh, xmmh, xmmhm, sel=1, size=1 +}; + +def macroop PUNPCKHBW_XMM_M { + lea t1, seg, sib, disp, dataSize=asz + ldfp ufp1, seg, [1, t0, t1], 8, dataSize=8 + unpack xmml, xmmh, ufp1, sel=0, size=1 + unpack xmmh, xmmh, ufp1, sel=1, size=1 +}; + +def macroop PUNPCKHBW_XMM_P { + rdip t7 + lea t1, seg, riprel, disp, dataSize=asz + ldfp ufp1, seg, [1, t0, t1], 8, dataSize=8 + unpack xmml, xmmh, ufp1, sel=0, size=1 + unpack xmmh, xmmh, ufp1, sel=1, size=1 +}; ''' -# PUNPCKHBW # PUNPCKHWD # PUNPCKHDQ # PUNPCKHQDQ |