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

Side by Side Diff: src/compiler/simplified-lowering.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/representation-change.cc ('k') | src/compiler/x64/instruction-selector-x64.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/simplified-lowering.h" 5 #include "src/compiler/simplified-lowering.h"
6 6
7 #include <limits> 7 #include <limits>
8 8
9 #include "src/address-map.h" 9 #include "src/address-map.h"
10 #include "src/base/bits.h" 10 #include "src/base/bits.h"
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 return UseInfo::CheckedNumberAsFloat64(); 113 return UseInfo::CheckedNumberAsFloat64();
114 case NumberOperationHint::kNumberOrOddball: 114 case NumberOperationHint::kNumberOrOddball:
115 return UseInfo::CheckedNumberOrOddballAsFloat64(); 115 return UseInfo::CheckedNumberOrOddballAsFloat64();
116 } 116 }
117 UNREACHABLE(); 117 UNREACHABLE();
118 return UseInfo::None(); 118 return UseInfo::None();
119 } 119 }
120 120
121 UseInfo TruncatingUseInfoFromRepresentation(MachineRepresentation rep) { 121 UseInfo TruncatingUseInfoFromRepresentation(MachineRepresentation rep) {
122 switch (rep) { 122 switch (rep) {
123 case MachineRepresentation::kTaggedSigned:
124 case MachineRepresentation::kTaggedPointer:
123 case MachineRepresentation::kTagged: 125 case MachineRepresentation::kTagged:
124 return UseInfo::AnyTagged(); 126 return UseInfo::AnyTagged();
125 case MachineRepresentation::kFloat64: 127 case MachineRepresentation::kFloat64:
126 return UseInfo::TruncatingFloat64(); 128 return UseInfo::TruncatingFloat64();
127 case MachineRepresentation::kFloat32: 129 case MachineRepresentation::kFloat32:
128 return UseInfo::TruncatingFloat32(); 130 return UseInfo::TruncatingFloat32();
129 case MachineRepresentation::kWord64: 131 case MachineRepresentation::kWord64:
130 return UseInfo::TruncatingWord64(); 132 return UseInfo::TruncatingWord64();
131 case MachineRepresentation::kWord8: 133 case MachineRepresentation::kWord8:
132 case MachineRepresentation::kWord16: 134 case MachineRepresentation::kWord16:
(...skipping 3223 matching lines...) Expand 10 before | Expand all | Expand 10 after
3356 isolate(), graph()->zone(), callable.descriptor(), 0, flags, 3358 isolate(), graph()->zone(), callable.descriptor(), 0, flags,
3357 Operator::kNoProperties); 3359 Operator::kNoProperties);
3358 to_number_operator_.set(common()->Call(desc)); 3360 to_number_operator_.set(common()->Call(desc));
3359 } 3361 }
3360 return to_number_operator_.get(); 3362 return to_number_operator_.get();
3361 } 3363 }
3362 3364
3363 } // namespace compiler 3365 } // namespace compiler
3364 } // namespace internal 3366 } // namespace internal
3365 } // namespace v8 3367 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/representation-change.cc ('k') | src/compiler/x64/instruction-selector-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698