diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2009-08-17 18:21:09 -0700 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2009-08-17 18:21:09 -0700 |
commit | cfaeb5eaf7d1aaa6dad7c8677c8829ac1be5c90b (patch) | |
tree | 191c8bc08491d4398df09d138d5f5dd7afa3bf33 /src/arch/x86/isa/insts | |
parent | aabbb22cca3d3f759a55d2108504b6409e7ba402 (diff) | |
download | gem5-cfaeb5eaf7d1aaa6dad7c8677c8829ac1be5c90b.tar.xz |
X86: Implement PUNPCKHQDQ.
Diffstat (limited to 'src/arch/x86/isa/insts')
-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 0e11b5aba..9ae617d36 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 @@ -167,6 +167,25 @@ def macroop PUNPCKHDQ_XMM_P { unpack xmml, xmmh, ufp1, sel=0, size=4 unpack xmmh, xmmh, ufp1, sel=1, size=4 }; + +def macroop PUNPCKHQDQ_XMM_XMM { + movfp xmml, xmmh + movfp xmmh, xmmhm +}; + +def macroop PUNPCKHQDQ_XMM_M { + lea t1, seg, sib, disp, dataSize=asz + ldfp ufp1, seg, [1, t0, t1], 8, dataSize=8 + movfp xmml, xmmh + movfp xmmh, ufp1 +}; + +def macroop PUNPCKHQDQ_XMM_P { + rdip t7 + lea t1, seg, riprel, disp, dataSize=asz + ldfp ufp1, seg, riprel, 8, dataSize=8 + movfp xmml, xmmh + movfp xmmh, ufp1 +}; ''' -# PUNPCKHQDQ # PUNPCKLQDQ |