From 7fbd9e12961aaee1c81e723c4d40b70d5108845e Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Mon, 17 Aug 2009 20:25:13 -0700 Subject: X86: Implement the shuffle media instructions. --- src/arch/x86/isa/decoder/two_byte_opcodes.isa | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/arch/x86/isa/decoder/two_byte_opcodes.isa') diff --git a/src/arch/x86/isa/decoder/two_byte_opcodes.isa b/src/arch/x86/isa/decoder/two_byte_opcodes.isa index 91e2f2b2f..7d955eb3e 100644 --- a/src/arch/x86/isa/decoder/two_byte_opcodes.isa +++ b/src/arch/x86/isa/decoder/two_byte_opcodes.isa @@ -598,7 +598,7 @@ 0x0E: decode LEGACY_DECODEVAL { // no prefix 0x0: decode OPCODE_OP_BOTTOM3 { - 0x0: WarnUnimpl::pshufw_Pq_Qq_Ib(); + 0x0: PSHUFW(Pq,Qq,Ib); //0x1: group13_pshimw(); 0x1: decode MODRM_REG { 0x2: decode LEGACY_OP { @@ -658,12 +658,12 @@ } // repe (0xF3) 0x4: decode OPCODE_OP_BOTTOM3 { - 0x0: WarnUnimpl::pshufhw_Vo_Wo_Ib(); + 0x0: PSHUFHW(Vo,Wo,Ib); default: UD2(); } // operand size (0x66) 0x1: decode OPCODE_OP_BOTTOM3 { - 0x0: WarnUnimpl::pshufd_Vo_Wo_Ib(); + 0x0: PSHUFD(Vo,Wo,Ib); //0x1: group13_pshimw(); 0x1: decode MODRM_REG { 0x2: decode LEGACY_OP { @@ -723,7 +723,7 @@ } // repne (0xF2) 0x8: decode OPCODE_OP_BOTTOM3 { - 0x0: WarnUnimpl::pshuflw_Vo_Wo_Ib(); + 0x0: PSHUFLW(Vo,Wo,Ib); default: UD2(); } default: UD2(); @@ -910,7 +910,7 @@ 0x3: WarnUnimpl::movnti_Mdq_Gdq(); 0x4: PINSRW(Pq,Ew,Ib); 0x5: PEXTRW(Gd,PRq,Ib); - 0x6: WarnUnimpl::shufps_Vps_Wps_Ib(); + 0x6: SHUFPS(Vps,Wps,Ib); } // repe (0xF3) 0x4: decode OPCODE_OP_BOTTOM3 { @@ -922,7 +922,7 @@ 0x2: WarnUnimpl::cmpccpd_Vo_Wo_Ib(); 0x4: PINSRW(Vdw,Ew,Ib); 0x5: PEXTRW(Gd,VRdq,Ib); - 0x6: WarnUnimpl::shufpd_Vpd_Wpd_Ib(); + 0x6: SHUFPD(Vpd,Wpd,Ib); default: UD2(); } // repne (0xF2) -- cgit v1.2.3