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

Unified Diff: runtime/vm/disassembler_ia32.cc

Issue 10917022: Add disassembly of movaps to ia32 disassembler (movaps is better than movsd, avoids stalls etc.) (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 4 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_ia32.cc
===================================================================
--- runtime/vm/disassembler_ia32.cc (revision 11659)
+++ runtime/vm/disassembler_ia32.cc (working copy)
@@ -236,6 +236,7 @@
case 0xAB: return "bts";
case 0xB1: return "cmpxchg";
case 0x57: return "xorps";
+ case 0x28: return "movaps";
default: return NULL;
}
}
@@ -1204,6 +1205,15 @@
PrintCPURegister(regop);
Print(",cl");
}
+ } else if (f0byte == 0x28) {
+ // movaps
+ Print(f0mnem);
+ int mod, regop, rm;
+ GetModRm(*data, &mod, &regop, &rm);
+ Print(" ");
+ PrintXmmRegister(regop);
+ Print(",");
+ data += PrintRightXmmOperand(data);
} else {
UNIMPLEMENTED();
}
« 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