Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(281)

Unified Diff: runtime/vm/disassembler_x64.cc

Issue 23653014: Add cvtsd2ss into X64 disassembler (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/disassembler_x64.cc
diff --git a/runtime/vm/disassembler_x64.cc b/runtime/vm/disassembler_x64.cc
index 7aefeb5e25aee4b101cc70445c24b9d46b19289b..0055f6f7a0d8b9a3fe0e504b91f5961d9ed6581f 100644
--- a/runtime/vm/disassembler_x64.cc
+++ b/runtime/vm/disassembler_x64.cc
@@ -1442,8 +1442,8 @@ int DisassemblerX64::TwoByteOpcodeInstruction(uint8_t* data) {
opcode == 0x16 || opcode == 0x51 || opcode == 0x52 ||
opcode == 0x53 || opcode == 0x54 || opcode == 0x56 ||
opcode == 0x57 || opcode == 0x58 || opcode == 0x59 ||
- opcode == 0x5C || opcode == 0x5D || opcode == 0x5E ||
- opcode == 0x5F) {
+ opcode == 0x5A || opcode == 0x5C || opcode == 0x5D ||
+ opcode == 0x5E || opcode == 0x5F) {
const char* mnemonic = NULL;
switch (opcode) {
case 0x12: mnemonic = "movhlps"; break;
@@ -1458,6 +1458,7 @@ int DisassemblerX64::TwoByteOpcodeInstruction(uint8_t* data) {
case 0x57: mnemonic = "xorps"; break;
case 0x58: mnemonic = "addps"; break;
case 0x59: mnemonic = "mulps"; break;
+ case 0x5A: mnemonic = "cvtsd2ss"; break;
case 0x5C: mnemonic = "subps"; break;
case 0x5D: mnemonic = "minps"; break;
case 0x5E: mnemonic = "divps"; break;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698