Index: src/ia32/disasm-ia32.cc |
=================================================================== |
--- src/ia32/disasm-ia32.cc (revision 6672) |
+++ src/ia32/disasm-ia32.cc (working copy) |
@@ -1115,10 +1115,20 @@ |
get_modrm(*data, &mod, ®op, &rm); |
int8_t imm8 = static_cast<int8_t>(data[1]); |
AppendToBuffer("pextrd %s,%s,%d", |
- NameOfXMMRegister(regop), |
+ NameOfCPURegister(regop), |
NameOfXMMRegister(rm), |
static_cast<int>(imm8)); |
data += 2; |
+ } else if (*data == 0x22) { |
+ data++; |
+ int mod, regop, rm; |
+ get_modrm(*data, &mod, ®op, &rm); |
+ int8_t imm8 = static_cast<int8_t>(data[1]); |
+ AppendToBuffer("pinsrd %s,%s,%d", |
+ NameOfXMMRegister(regop), |
+ NameOfCPURegister(rm), |
+ static_cast<int>(imm8)); |
+ data += 2; |
} else { |
UnimplementedInstruction(); |
} |