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

Unified Diff: runtime/vm/disassembler_ia32.cc

Issue 11573044: Inline Doubles truncate and round. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 11 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
Index: runtime/vm/disassembler_ia32.cc
===================================================================
--- runtime/vm/disassembler_ia32.cc (revision 16928)
+++ runtime/vm/disassembler_ia32.cc (working copy)
@@ -1499,6 +1499,22 @@
Print(",");
PrintXmmRegister(rm);
data += 2;
+ } else if (*data == 0x3A) {
+ data++;
+ if (*data == 0x0B) {
+ data++;
+ int mod, regop, rm;
+ GetModRm(*data, &mod, &regop, &rm);
+ Print("roundsd ");
+ PrintXmmRegister(regop);
+ Print(", ");
+ PrintXmmRegister(rm);
+ Print(", ");
+ PrintInt(data[1] & 3);
+ data += 2;
+ } else {
+ UNIMPLEMENTED();
+ }
} else {
UNIMPLEMENTED();
}

Powered by Google App Engine
This is Rietveld 408576698