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

Side by Side Diff: src/compiler/instruction.cc

Issue 2216383002: TurboFan: Introduce TaggedSigned and TaggedPointer representations. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Mips compile fix. Created 4 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
« no previous file with comments | « src/compiler/instruction.h ('k') | src/compiler/load-elimination.cc » ('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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/compiler/common-operator.h" 5 #include "src/compiler/common-operator.h"
6 #include "src/compiler/graph.h" 6 #include "src/compiler/graph.h"
7 #include "src/compiler/instruction.h" 7 #include "src/compiler/instruction.h"
8 #include "src/compiler/schedule.h" 8 #include "src/compiler/schedule.h"
9 #include "src/compiler/state-values-utils.h" 9 #include "src/compiler/state-values-utils.h"
10 10
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 break; 173 break;
174 case MachineRepresentation::kFloat32: 174 case MachineRepresentation::kFloat32:
175 os << "|f32"; 175 os << "|f32";
176 break; 176 break;
177 case MachineRepresentation::kFloat64: 177 case MachineRepresentation::kFloat64:
178 os << "|f64"; 178 os << "|f64";
179 break; 179 break;
180 case MachineRepresentation::kSimd128: 180 case MachineRepresentation::kSimd128:
181 os << "|s128"; 181 os << "|s128";
182 break; 182 break;
183 case MachineRepresentation::kTaggedSigned:
184 os << "|ts";
185 break;
186 case MachineRepresentation::kTaggedPointer:
187 os << "|tp";
188 break;
183 case MachineRepresentation::kTagged: 189 case MachineRepresentation::kTagged:
184 os << "|t"; 190 os << "|t";
185 break; 191 break;
186 } 192 }
187 return os << "]"; 193 return os << "]";
188 } 194 }
189 case InstructionOperand::INVALID: 195 case InstructionOperand::INVALID:
190 return os << "(x)"; 196 return os << "(x)";
191 } 197 }
192 UNREACHABLE(); 198 UNREACHABLE();
(...skipping 595 matching lines...) Expand 10 before | Expand all | Expand 10 after
788 switch (rep) { 794 switch (rep) {
789 case MachineRepresentation::kBit: 795 case MachineRepresentation::kBit:
790 case MachineRepresentation::kWord8: 796 case MachineRepresentation::kWord8:
791 case MachineRepresentation::kWord16: 797 case MachineRepresentation::kWord16:
792 return InstructionSequence::DefaultRepresentation(); 798 return InstructionSequence::DefaultRepresentation();
793 case MachineRepresentation::kWord32: 799 case MachineRepresentation::kWord32:
794 case MachineRepresentation::kWord64: 800 case MachineRepresentation::kWord64:
795 case MachineRepresentation::kFloat32: 801 case MachineRepresentation::kFloat32:
796 case MachineRepresentation::kFloat64: 802 case MachineRepresentation::kFloat64:
797 case MachineRepresentation::kSimd128: 803 case MachineRepresentation::kSimd128:
804 case MachineRepresentation::kTaggedSigned:
805 case MachineRepresentation::kTaggedPointer:
798 case MachineRepresentation::kTagged: 806 case MachineRepresentation::kTagged:
799 return rep; 807 return rep;
800 case MachineRepresentation::kNone: 808 case MachineRepresentation::kNone:
801 break; 809 break;
802 } 810 }
803 UNREACHABLE(); 811 UNREACHABLE();
804 return MachineRepresentation::kNone; 812 return MachineRepresentation::kNone;
805 } 813 }
806 814
807 815
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
1014 } 1022 }
1015 for (int i = 0; i < code.InstructionBlockCount(); i++) { 1023 for (int i = 0; i < code.InstructionBlockCount(); i++) {
1016 printable.sequence_->PrintBlock(printable.register_configuration_, i); 1024 printable.sequence_->PrintBlock(printable.register_configuration_, i);
1017 } 1025 }
1018 return os; 1026 return os;
1019 } 1027 }
1020 1028
1021 } // namespace compiler 1029 } // namespace compiler
1022 } // namespace internal 1030 } // namespace internal
1023 } // namespace v8 1031 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/instruction.h ('k') | src/compiler/load-elimination.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698