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

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

Issue 14781002: Inline remaining Float32x4 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 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 646 matching lines...) Expand 10 before | Expand all | Expand 10 after
657 657
658 658
659 void Float32x4ScaleInstr::PrintOperandsTo(BufferFormatter* f) const { 659 void Float32x4ScaleInstr::PrintOperandsTo(BufferFormatter* f) const {
660 f->Print("%s, ", MethodRecognizer::KindToCString(op_kind())); 660 f->Print("%s, ", MethodRecognizer::KindToCString(op_kind()));
661 left()->PrintTo(f); 661 left()->PrintTo(f);
662 f->Print(", "); 662 f->Print(", ");
663 right()->PrintTo(f); 663 right()->PrintTo(f);
664 } 664 }
665 665
666 666
667 void Float32x4ZeroArgInstr::PrintOperandsTo(BufferFormatter* f) const {
668 f->Print("%s, ", MethodRecognizer::KindToCString(op_kind()));
669 left()->PrintTo(f);
670 }
671
672
673 void Float32x4ClampInstr::PrintOperandsTo(BufferFormatter* f) const {
674 f->Print("Float32x4.clamp, ");
675 left()->PrintTo(f);
676 }
677
678
679 void Float32x4WithInstr::PrintOperandsTo(BufferFormatter* f) const {
680 f->Print("%s, ", MethodRecognizer::KindToCString(op_kind()));
681 left()->PrintTo(f);
682 f->Print(", ");
683 replacement()->PrintTo(f);
684 }
685
686
687 void Float32x4ToUint32x4Instr::PrintOperandsTo(BufferFormatter* f) const {
688 f->Print("Float32x4.toUint32x4 ");
689 left()->PrintTo(f);
690 }
691
692
667 void BinaryMintOpInstr::PrintOperandsTo(BufferFormatter* f) const { 693 void BinaryMintOpInstr::PrintOperandsTo(BufferFormatter* f) const {
668 f->Print("%s, ", Token::Str(op_kind())); 694 f->Print("%s, ", Token::Str(op_kind()));
669 left()->PrintTo(f); 695 left()->PrintTo(f);
670 f->Print(", "); 696 f->Print(", ");
671 right()->PrintTo(f); 697 right()->PrintTo(f);
672 } 698 }
673 699
674 700
675 void ShiftMintOpInstr::PrintOperandsTo(BufferFormatter* f) const { 701 void ShiftMintOpInstr::PrintOperandsTo(BufferFormatter* f) const {
676 f->Print("%s, ", Token::Str(op_kind())); 702 f->Print("%s, ", Token::Str(op_kind()));
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
845 f->Print(" ["); 871 f->Print(" [");
846 locations_[i].PrintTo(f); 872 locations_[i].PrintTo(f);
847 f->Print("]"); 873 f->Print("]");
848 } 874 }
849 } 875 }
850 f->Print(" }"); 876 f->Print(" }");
851 if (outer_ != NULL) outer_->PrintTo(f); 877 if (outer_ != NULL) outer_->PrintTo(f);
852 } 878 }
853 879
854 } // namespace dart 880 } // namespace dart
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698