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

Unified Diff: runtime/vm/il_printer.cc

Issue 183923026: Inline of Float64x2 operations round 1 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 9 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 | « runtime/vm/flow_graph_type_propagator.cc ('k') | runtime/vm/intermediate_language.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/il_printer.cc
diff --git a/runtime/vm/il_printer.cc b/runtime/vm/il_printer.cc
index 032e74bb92279c05e6abda1f4109895ff6932c20..85d033f06941d90c054803a512b554069a8f8024 100644
--- a/runtime/vm/il_printer.cc
+++ b/runtime/vm/il_printer.cc
@@ -593,12 +593,21 @@ void BinaryFloat32x4OpInstr::PrintOperandsTo(BufferFormatter* f) const {
}
+void BinaryFloat64x2OpInstr::PrintOperandsTo(BufferFormatter* f) const {
+ f->Print("%s, ", Token::Str(op_kind()));
+ left()->PrintTo(f);
+ f->Print(", ");
+ right()->PrintTo(f);
+}
+
+
void Simd32x4ShuffleInstr::PrintOperandsTo(BufferFormatter* f) const {
// TODO(johnmccutchan): Add proper string enumeration of shuffle.
f->Print("%s, ", MethodRecognizer::KindToCString(op_kind()));
value()->PrintTo(f);
}
+
void Simd32x4ShuffleMixInstr::PrintOperandsTo(BufferFormatter* f) const {
f->Print("%s, ", MethodRecognizer::KindToCString(op_kind()));
xy()->PrintTo(f);
@@ -699,7 +708,43 @@ void Float32x4ToInt32x4Instr::PrintOperandsTo(BufferFormatter* f) const {
}
+void Simd64x2ShuffleInstr::PrintOperandsTo(BufferFormatter* f) const {
+ // TODO(johnmccutchan): Add proper string enumeration of shuffle.
+ f->Print("%s, ", MethodRecognizer::KindToCString(op_kind()));
+ value()->PrintTo(f);
+}
+
+void Float64x2ZeroInstr::PrintOperandsTo(BufferFormatter* f) const {
+ f->Print("Float64x2.zero ");
+}
+
+
+void Float64x2SplatInstr::PrintOperandsTo(BufferFormatter* f) const {
+ f->Print("Float64x2.splat ");
+ value()->PrintTo(f);
+}
+
+
+void Float64x2ConstructorInstr::PrintOperandsTo(BufferFormatter* f) const {
+ f->Print("Float64x2(");
+ value0()->PrintTo(f);
+ f->Print(", ");
+ value1()->PrintTo(f);
+ f->Print(")");
+}
+
+
+void Float32x4ToFloat64x2Instr::PrintOperandsTo(BufferFormatter* f) const {
+ f->Print("Float64x2.fromFloat32x4 ");
+ left()->PrintTo(f);
+}
+
+
+void Float64x2ToFloat32x4Instr::PrintOperandsTo(BufferFormatter* f) const {
+ f->Print("Float32x4.fromFloat64x2 ");
+ left()->PrintTo(f);
+}
void Int32x4BoolConstructorInstr::PrintOperandsTo(BufferFormatter* f) const {
« no previous file with comments | « runtime/vm/flow_graph_type_propagator.cc ('k') | runtime/vm/intermediate_language.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698