diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2009-08-17 18:18:40 -0700 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2009-08-17 18:18:40 -0700 |
commit | 673b19f5d44908cee92f24f9398968541858b0fa (patch) | |
tree | 8b2f6dd4e43feae0f1c1f61ccd2c260ec6853681 /src/arch/x86/isa/insts/simd128 | |
parent | ae4ee21ecd65107a96fe22692ed5d2ea39b873b5 (diff) | |
download | gem5-673b19f5d44908cee92f24f9398968541858b0fa.tar.xz |
X86: Implement PUNPCKLWD.
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 | 19 |
1 files changed, 18 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 96419b1ad..0bf063ede 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 @@ -71,11 +71,28 @@ def macroop PUNPCKLBW_XMM_P { unpack xmmh, xmml, ufp1, sel=1, size=1 unpack xmml, xmml, ufp1, sel=0, size=1 }; + +def macroop PUNPCKLWD_XMM_XMM { + unpack xmmh, xmml, xmmlm, sel=1, size=2 + unpack xmml, xmml, xmmlm, sel=0, size=2 +}; + +def macroop PUNPCKLWD_XMM_M { + ldfp ufp1, seg, sib, disp, dataSize=8 + unpack xmmh, xmml, ufp1, sel=1, size=2 + unpack xmml, xmml, ufp1, sel=0, size=2 +}; + +def macroop PUNPCKLWD_XMM_P { + rdip t7 + ldfp ufp1, seg, riprel, disp, dataSize=8 + unpack xmmh, xmml, ufp1, sel=1, size=2 + unpack xmml, xmml, ufp1, sel=0, size=2 +}; ''' # PUNPCKHBW # PUNPCKHWD # PUNPCKHDQ # PUNPCKHQDQ -# PUNPCKLWD # PUNPCKLDQ # PUNPCKLQDQ |