diff options
Diffstat (limited to 'src/arch/x86/isa/insts/simd128/integer')
-rw-r--r-- | src/arch/x86/isa/insts/simd128/integer/data_reordering/unpack_and_interleave.py | 20 |
1 files changed, 18 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 e8c22ea9f..96419b1ad 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 @@ -54,12 +54,28 @@ # Authors: Gabe Black microcode = ''' +def macroop PUNPCKLBW_XMM_XMM { + unpack xmmh, xmml, xmmlm, sel=1, size=1 + unpack xmml, xmml, xmmlm, sel=0, size=1 +}; + +def macroop PUNPCKLBW_XMM_M { + ldfp ufp1, seg, sib, disp, dataSize=8 + unpack xmmh, xmml, ufp1, sel=1, size=1 + unpack xmml, xmml, ufp1, sel=0, size=1 +}; + +def macroop PUNPCKLBW_XMM_P { + rdip t7 + ldfp ufp1, seg, riprel, disp, dataSize=8 + unpack xmmh, xmml, ufp1, sel=1, size=1 + unpack xmml, xmml, ufp1, sel=0, size=1 +}; +''' # PUNPCKHBW # PUNPCKHWD # PUNPCKHDQ # PUNPCKHQDQ -# PUNPCKLBW # PUNPCKLWD # PUNPCKLDQ # PUNPCKLQDQ -''' |