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

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
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 598 matching lines...) Expand 10 before | Expand all | Expand 10 after
609 } 609 }
610 610
611 611
612 void Float32x4ShuffleInstr::PrintOperandsTo(BufferFormatter* f) const { 612 void Float32x4ShuffleInstr::PrintOperandsTo(BufferFormatter* f) const {
613 // TODO(johnmccutchan): Add proper string enumeration of shuffle. 613 // TODO(johnmccutchan): Add proper string enumeration of shuffle.
614 f->Print("SHUFFLE "); 614 f->Print("SHUFFLE ");
615 value()->PrintTo(f); 615 value()->PrintTo(f);
616 } 616 }
617 617
618 618
619 void Simd32x4GetSignMaskInstr::PrintOperandsTo(BufferFormatter* f) const {
620 if (op_kind() == MethodRecognizer::kFloat32x4GetSignMask) {
621 f->Print("Float32x4.getSignMask ");
622 } else {
623 ASSERT(op_kind() == MethodRecognizer::kUint32x4GetSignMask);
624 f->Print("Uint32x4.getSignMask ");
625 }
626 value()->PrintTo(f);
627 }
628
629
619 void Float32x4ZeroInstr::PrintOperandsTo(BufferFormatter* f) const { 630 void Float32x4ZeroInstr::PrintOperandsTo(BufferFormatter* f) const {
620 f->Print("ZERO "); 631 f->Print("ZERO ");
621 } 632 }
622 633
623 634
624 void Float32x4SplatInstr::PrintOperandsTo(BufferFormatter* f) const { 635 void Float32x4SplatInstr::PrintOperandsTo(BufferFormatter* f) const {
625 f->Print("SPLAT "); 636 f->Print("SPLAT ");
626 value()->PrintTo(f); 637 value()->PrintTo(f);
627 } 638 }
628 639
(...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after
969 f->Print(" ["); 980 f->Print(" [");
970 locations_[i].PrintTo(f); 981 locations_[i].PrintTo(f);
971 f->Print("]"); 982 f->Print("]");
972 } 983 }
973 } 984 }
974 f->Print(" }"); 985 f->Print(" }");
975 if (outer_ != NULL) outer_->PrintTo(f); 986 if (outer_ != NULL) outer_->PrintTo(f);
976 } 987 }
977 988
978 } // namespace dart 989 } // namespace dart
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698