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

Unified Diff: runtime/vm/il_printer.cc

Issue 51373004: SIMD shuffle API changes (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 1 month 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 d0587ffb79325ca2df3a8710aad29d5607be658e..cfeca9b7b52e04de5b30c2ab77d1b87f8e1a8fd6 100644
--- a/runtime/vm/il_printer.cc
+++ b/runtime/vm/il_printer.cc
@@ -607,12 +607,19 @@ void BinaryFloat32x4OpInstr::PrintOperandsTo(BufferFormatter* f) const {
}
-void Float32x4ShuffleInstr::PrintOperandsTo(BufferFormatter* f) const {
+void Simd32x4ShuffleInstr::PrintOperandsTo(BufferFormatter* f) const {
// TODO(johnmccutchan): Add proper string enumeration of shuffle.
- f->Print("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);
+ f->Print(", ");
+ zw()->PrintTo(f);
+}
+
void Simd32x4GetSignMaskInstr::PrintOperandsTo(BufferFormatter* f) const {
if (op_kind() == MethodRecognizer::kFloat32x4GetSignMask) {
@@ -706,12 +713,7 @@ void Float32x4ToUint32x4Instr::PrintOperandsTo(BufferFormatter* f) const {
}
-void Float32x4TwoArgShuffleInstr::PrintOperandsTo(BufferFormatter* f) const {
- f->Print("%s, ", MethodRecognizer::KindToCString(op_kind()));
- left()->PrintTo(f);
- f->Print(", ");
- right()->PrintTo(f);
-}
+
void Uint32x4BoolConstructorInstr::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