Index: src/x64/disasm-x64.cc |
=================================================================== |
--- src/x64/disasm-x64.cc (revision 4482) |
+++ src/x64/disasm-x64.cc (working copy) |
@@ -1035,7 +1035,7 @@ |
get_modrm(*current, &mod, ®op, &rm); |
AppendToBuffer("%s %s,", mnemonic, NameOfXMMRegister(regop)); |
current += PrintRightOperand(current); |
- } else if ((opcode & 0xF8) == 0x58) { |
+ } else if ((opcode & 0xF8) == 0x58 || opcode == 0x51) { |
// XMM arithmetic. Mnemonic was retrieved at the start of this function. |
int mod, regop, rm; |
get_modrm(*current, &mod, ®op, &rm); |
@@ -1126,6 +1126,8 @@ |
return "cvtsi2sd"; |
case 0x31: |
return "rdtsc"; |
+ case 0x51: // F2 prefix. |
+ return "sqrtsd"; |
case 0x58: // F2 prefix. |
return "addsd"; |
case 0x59: // F2 prefix. |