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

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

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/ia32/instruction-selector-ia32.cc ('k') | src/compiler/instruction.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 #ifndef V8_COMPILER_INSTRUCTION_H_ 5 #ifndef V8_COMPILER_INSTRUCTION_H_
6 #define V8_COMPILER_INSTRUCTION_H_ 6 #define V8_COMPILER_INSTRUCTION_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <iosfwd> 9 #include <iosfwd>
10 #include <map> 10 #include <map>
(...skipping 448 matching lines...) Expand 10 before | Expand all | Expand 10 after
459 return RepresentationField::decode(value_); 459 return RepresentationField::decode(value_);
460 } 460 }
461 461
462 static bool IsSupportedRepresentation(MachineRepresentation rep) { 462 static bool IsSupportedRepresentation(MachineRepresentation rep) {
463 switch (rep) { 463 switch (rep) {
464 case MachineRepresentation::kWord32: 464 case MachineRepresentation::kWord32:
465 case MachineRepresentation::kWord64: 465 case MachineRepresentation::kWord64:
466 case MachineRepresentation::kFloat32: 466 case MachineRepresentation::kFloat32:
467 case MachineRepresentation::kFloat64: 467 case MachineRepresentation::kFloat64:
468 case MachineRepresentation::kSimd128: 468 case MachineRepresentation::kSimd128:
469 case MachineRepresentation::kTaggedSigned:
470 case MachineRepresentation::kTaggedPointer:
469 case MachineRepresentation::kTagged: 471 case MachineRepresentation::kTagged:
470 return true; 472 return true;
471 case MachineRepresentation::kBit: 473 case MachineRepresentation::kBit:
472 case MachineRepresentation::kWord8: 474 case MachineRepresentation::kWord8:
473 case MachineRepresentation::kWord16: 475 case MachineRepresentation::kWord16:
474 case MachineRepresentation::kNone: 476 case MachineRepresentation::kNone:
475 return false; 477 return false;
476 } 478 }
477 UNREACHABLE(); 479 UNREACHABLE();
478 return false; 480 return false;
(...skipping 1007 matching lines...) Expand 10 before | Expand all | Expand 10 after
1486 1488
1487 1489
1488 std::ostream& operator<<(std::ostream& os, 1490 std::ostream& operator<<(std::ostream& os,
1489 const PrintableInstructionSequence& code); 1491 const PrintableInstructionSequence& code);
1490 1492
1491 } // namespace compiler 1493 } // namespace compiler
1492 } // namespace internal 1494 } // namespace internal
1493 } // namespace v8 1495 } // namespace v8
1494 1496
1495 #endif // V8_COMPILER_INSTRUCTION_H_ 1497 #endif // V8_COMPILER_INSTRUCTION_H_
OLDNEW
« no previous file with comments | « src/compiler/ia32/instruction-selector-ia32.cc ('k') | src/compiler/instruction.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698