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

Unified Diff: runtime/vm/il_printer.cc

Issue 15085006: Inline Uint32x4 operations (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 7 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/il_printer.cc
diff --git a/runtime/vm/il_printer.cc b/runtime/vm/il_printer.cc
index ebac00acb4df3ae018b1d00e7daca01e4665f3dd..4cb832d9c91880027999c845b5acf4fc8f706069 100644
--- a/runtime/vm/il_printer.cc
+++ b/runtime/vm/il_printer.cc
@@ -700,6 +700,57 @@ void Float32x4ToUint32x4Instr::PrintOperandsTo(BufferFormatter* f) const {
}
+void Uint32x4BoolConstructorInstr::PrintOperandsTo(BufferFormatter* f) const {
+ f->Print("Uint32x4.bool(");
+ value0()->PrintTo(f);
+ f->Print(", ");
+ value1()->PrintTo(f);
+ f->Print(", ");
+ value2()->PrintTo(f);
+ f->Print(", ");
+ value3()->PrintTo(f);
+ f->Print(")");
+}
+
+
+void Uint32x4GetFlagInstr::PrintOperandsTo(BufferFormatter* f) const {
+ f->Print("Uint32x4.%s ", MethodRecognizer::KindToCString(op_kind()));
+ value()->PrintTo(f);
+}
+
+
+void Uint32x4SetFlagInstr::PrintOperandsTo(BufferFormatter* f) const {
+ f->Print("Uint32x4.%s ", MethodRecognizer::KindToCString(op_kind()));
+ value()->PrintTo(f);
+ f->Print(", ");
+ flagValue()->PrintTo(f);
+}
+
+
+void Uint32x4SelectInstr::PrintOperandsTo(BufferFormatter* f) const {
+ f->Print("Uint32x4.select ");
+ mask()->PrintTo(f);
+ f->Print(", ");
+ trueValue()->PrintTo(f);
+ f->Print(", ");
+ falseValue()->PrintTo(f);
+}
+
+
+void Uint32x4ToFloat32x4Instr::PrintOperandsTo(BufferFormatter* f) const {
+ f->Print("Uint32x4.toFloat32x4 ");
+ left()->PrintTo(f);
+}
+
+
+void BinaryUint32x4OpInstr::PrintOperandsTo(BufferFormatter* f) const {
+ f->Print("%s, ", Token::Str(op_kind()));
+ left()->PrintTo(f);
+ f->Print(", ");
+ right()->PrintTo(f);
+}
+
+
void BinaryMintOpInstr::PrintOperandsTo(BufferFormatter* f) const {
f->Print("%s, ", Token::Str(op_kind()));
left()->PrintTo(f);

Powered by Google App Engine
This is Rietveld 408576698