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

Side by Side Diff: runtime/vm/il_printer.cc

Issue 22947006: Add signMask getter to Float32x4 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « runtime/vm/flow_graph_type_propagator.cc ('k') | runtime/vm/intermediate_language.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #include "vm/il_printer.h" 5 #include "vm/il_printer.h"
6 6
7 #include "vm/intermediate_language.h" 7 #include "vm/intermediate_language.h"
8 #include "vm/os.h" 8 #include "vm/os.h"
9 #include "vm/parser.h" 9 #include "vm/parser.h"
10 10
(...skipping 599 matching lines...) Expand 10 before | Expand all | Expand 10 after
610 } 610 }
611 611
612 612
613 void Float32x4ShuffleInstr::PrintOperandsTo(BufferFormatter* f) const { 613 void Float32x4ShuffleInstr::PrintOperandsTo(BufferFormatter* f) const {
614 // TODO(johnmccutchan): Add proper string enumeration of shuffle. 614 // TODO(johnmccutchan): Add proper string enumeration of shuffle.
615 f->Print("SHUFFLE "); 615 f->Print("SHUFFLE ");
616 value()->PrintTo(f); 616 value()->PrintTo(f);
617 } 617 }
618 618
619 619
620 void Simd32x4GetSignMaskInstr::PrintOperandsTo(BufferFormatter* f) const {
621 if (op_kind() == MethodRecognizer::kFloat32x4GetSignMask) {
622 f->Print("Float32x4.getSignMask ");
623 } else {
624 ASSERT(op_kind() == MethodRecognizer::kUint32x4GetSignMask);
625 f->Print("Uint32x4.getSignMask ");
626 }
627 value()->PrintTo(f);
628 }
629
630
620 void Float32x4ZeroInstr::PrintOperandsTo(BufferFormatter* f) const { 631 void Float32x4ZeroInstr::PrintOperandsTo(BufferFormatter* f) const {
621 f->Print("ZERO "); 632 f->Print("ZERO ");
622 } 633 }
623 634
624 635
625 void Float32x4SplatInstr::PrintOperandsTo(BufferFormatter* f) const { 636 void Float32x4SplatInstr::PrintOperandsTo(BufferFormatter* f) const {
626 f->Print("SPLAT "); 637 f->Print("SPLAT ");
627 value()->PrintTo(f); 638 value()->PrintTo(f);
628 } 639 }
629 640
(...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after
970 f->Print(" ["); 981 f->Print(" [");
971 locations_[i].PrintTo(f); 982 locations_[i].PrintTo(f);
972 f->Print("]"); 983 f->Print("]");
973 } 984 }
974 } 985 }
975 f->Print(" }"); 986 f->Print(" }");
976 if (outer_ != NULL) outer_->PrintTo(f); 987 if (outer_ != NULL) outer_->PrintTo(f);
977 } 988 }
978 989
979 } // namespace dart 990 } // namespace dart
OLDNEW
« 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