From 3ae2f039275f2a27ba04d509bc7c055dd137b52d Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Mon, 17 Aug 2009 18:19:01 -0700 Subject: X86: Implement PUNPCKLDQ. --- .../integer/data_reordering/unpack_and_interleave.py | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'src/arch/x86/isa/insts/simd64') 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 196706c9b..46d99f1b4 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 @@ -83,8 +83,22 @@ def macroop PUNPCKLWD_MMX_P { ldfp ufp1, seg, riprel, disp, dataSize=8 unpack mmx, mmx, ufp1, sel=0, size=2 }; + +def macroop PUNPCKLDQ_MMX_MMX { + unpack mmx, mmx, mmxm, sel=0, size=4 +}; + +def macroop PUNPCKLDQ_MMX_M { + ldfp ufp1, seg, sib, disp, dataSize=8 + unpack mmx, mmx, ufp1, sel=0, size=4 +}; + +def macroop PUNPCKLDQ_MMX_P { + rdip t7 + ldfp ufp1, seg, riprel, disp, dataSize=8 + unpack mmx, mmx, ufp1, sel=0, size=4 +}; ''' # PUNPCKHBW # PUNPCKHWD # PUNPCKHDQ -# PUNPCKLDQ -- cgit v1.2.3