diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2009-08-17 18:19:01 -0700 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2009-08-17 18:19:01 -0700 |
commit | 3ae2f039275f2a27ba04d509bc7c055dd137b52d (patch) | |
tree | 5947aac8b73179175bd33fc2f55bd8a6da79bfad /src/arch/x86/isa/insts/simd128 | |
parent | 673b19f5d44908cee92f24f9398968541858b0fa (diff) | |
download | gem5-3ae2f039275f2a27ba04d509bc7c055dd137b52d.tar.xz |
X86: Implement PUNPCKLDQ.
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 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 |