diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2009-08-17 18:21:46 -0700 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2009-08-17 18:21:46 -0700 |
commit | f3fb444af4d4fc5ea3376278bc0c0c4bc0129e5e (patch) | |
tree | 82b9107d4ad8ec559cf4ed0f2f1300b7547da441 /src | |
parent | cfaeb5eaf7d1aaa6dad7c8677c8829ac1be5c90b (diff) | |
download | gem5-f3fb444af4d4fc5ea3376278bc0c0c4bc0129e5e.tar.xz |
X86: Implement PUNPCKLQDQ.
Diffstat (limited to 'src')
-rw-r--r-- | src/arch/x86/isa/decoder/two_byte_opcodes.isa | 2 | ||||
-rw-r--r-- | src/arch/x86/isa/insts/simd128/integer/data_reordering/unpack_and_interleave.py | 14 |
2 files changed, 14 insertions, 2 deletions
diff --git a/src/arch/x86/isa/decoder/two_byte_opcodes.isa b/src/arch/x86/isa/decoder/two_byte_opcodes.isa index fd07f3192..3e1bc5cfb 100644 --- a/src/arch/x86/isa/decoder/two_byte_opcodes.isa +++ b/src/arch/x86/isa/decoder/two_byte_opcodes.isa @@ -595,7 +595,7 @@ 0x1: Inst::PUNPCKHWD(Vo,Wo); 0x2: Inst::PUNPCKHDQ(Vo,Wo); 0x3: packssdw_Vo_Wo(); - 0x4: punpcklqdq_Vo_Wq(); + 0x4: Inst::PUNPCKLQDQ(Vo,Wq); 0x5: Inst::PUNPCKHQDQ(Vo,Wq); 0x6: movd_Vo_Ed(); 0x7: movdqa_Vo_Wo(); 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 9ae617d36..be58a2551 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 @@ -187,5 +187,17 @@ def macroop PUNPCKHQDQ_XMM_P { movfp xmml, xmmh movfp xmmh, ufp1 }; + +def macroop PUNPCKLQDQ_XMM_XMM { + movfp xmmh, xmmlm +}; + +def macroop PUNPCKLQDQ_XMM_M { + ldfp xmmh, seg, sib, disp, dataSize=8 +}; + +def macroop PUNPCKLQDQ_XMM_P { + rdip t7 + ldfp xmmh, seg, riprel, disp, dataSize=8 +}; ''' -# PUNPCKLQDQ |