diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2009-08-17 18:19:43 -0700 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2009-08-17 18:19:43 -0700 |
commit | 535ba241f8fa655c99afb0978fdd7e63c33dbe74 (patch) | |
tree | 068b2672f44098000cc1ee1ce0292569e49cadbb /src/arch/x86/isa/insts/simd64/integer/data_reordering/unpack_and_interleave.py | |
parent | 093b5b3274a8650798956827fbfb6c98fa7e17b8 (diff) | |
download | gem5-535ba241f8fa655c99afb0978fdd7e63c33dbe74.tar.xz |
X86: Implement PUNPCKHWD.
Diffstat (limited to 'src/arch/x86/isa/insts/simd64/integer/data_reordering/unpack_and_interleave.py')
-rw-r--r-- | src/arch/x86/isa/insts/simd64/integer/data_reordering/unpack_and_interleave.py | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/src/arch/x86/isa/insts/simd64/integer/data_reordering/unpack_and_interleave.py b/src/arch/x86/isa/insts/simd64/integer/data_reordering/unpack_and_interleave.py index 53c4dc81e..b01f008e1 100644 --- a/src/arch/x86/isa/insts/simd64/integer/data_reordering/unpack_and_interleave.py +++ b/src/arch/x86/isa/insts/simd64/integer/data_reordering/unpack_and_interleave.py @@ -113,6 +113,20 @@ def macroop PUNPCKHBW_MMX_P { ldfp ufp1, seg, riprel, disp, dataSize=8 unpack mmx, mmx, ufp1, sel=1, size=1 }; + +def macroop PUNPCKHWD_MMX_MMX { + unpack mmx, mmx, mmxm, sel=1, size=2 +}; + +def macroop PUNPCKHWD_MMX_M { + ldfp ufp1, seg, sib, disp, dataSize=8 + unpack mmx, mmx, ufp1, sel=1, size=2 +}; + +def macroop PUNPCKHWD_MMX_P { + rdip t7 + ldfp ufp1, seg, riprel, disp, dataSize=8 + unpack mmx, mmx, ufp1, sel=1, size=2 +}; ''' -# PUNPCKHWD # PUNPCKHDQ |