diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2009-08-17 18:15:42 -0700 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2009-08-17 18:15:42 -0700 |
commit | 247ed2379d92c42d1b52cdda4a8cc80bdb9a239d (patch) | |
tree | e85791098511bd7c6f1ca3879c457aec5dcdbd0b /src/arch/x86/isa/insts/simd64 | |
parent | ecc62e750e5f9a34c2c89570d2cd940b2dcf0035 (diff) | |
download | gem5-247ed2379d92c42d1b52cdda4a8cc80bdb9a239d.tar.xz |
X86: Implement the versions of PUNPCKLBW that use MMX registers.
Diffstat (limited to 'src/arch/x86/isa/insts/simd64')
-rw-r--r-- | src/arch/x86/isa/insts/simd64/integer/data_reordering/unpack_and_interleave.py | 17 |
1 files changed, 15 insertions, 2 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 1f4c617dd..8f3c35749 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 @@ -54,10 +54,23 @@ # Authors: Gabe Black microcode = ''' +def macroop PUNPCKLBW_MMX_MMX { + unpack mmx, mmx, mmxm, sel=0, size=1 +}; + +def macroop PUNPCKLBW_MMX_M { + ldfp ufp1, seg, sib, disp, dataSize=8 + unpack mmx, mmx, ufp1, sel=0, size=1 +}; + +def macroop PUNPCKLBW_MMX_P { + rdip t7 + ldfp ufp1, seg, riprel, disp, dataSize=8 + unpack mmx, mmx, ufp1, sel=0, size=1 +}; +''' # PUNPCKHBW # PUNPCKHWD # PUNPCKHDQ -# PUNPCKLBW # PUNPCKLWD # PUNPCKLDQ -''' |