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

Side by Side Diff: src/compiler/simplified-lowering.cc

Issue 2700813002: [V8] Implement SIMD Boolean vector types to allow mask registers. (Closed)
Patch Set: Remove stray DCHECK. Created 3 years, 10 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
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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 case MachineRepresentation::kFloat32: 131 case MachineRepresentation::kFloat32:
132 return UseInfo::Float32(); 132 return UseInfo::Float32();
133 case MachineRepresentation::kWord64: 133 case MachineRepresentation::kWord64:
134 return UseInfo::TruncatingWord64(); 134 return UseInfo::TruncatingWord64();
135 case MachineRepresentation::kWord8: 135 case MachineRepresentation::kWord8:
136 case MachineRepresentation::kWord16: 136 case MachineRepresentation::kWord16:
137 case MachineRepresentation::kWord32: 137 case MachineRepresentation::kWord32:
138 return UseInfo::TruncatingWord32(); 138 return UseInfo::TruncatingWord32();
139 case MachineRepresentation::kBit: 139 case MachineRepresentation::kBit:
140 return UseInfo::Bool(); 140 return UseInfo::Bool();
141 case MachineRepresentation::kSimd128: // Fall through. 141 case MachineRepresentation::kSimd128:
142 case MachineRepresentation::kSimdBool4:
143 case MachineRepresentation::kSimdBool8:
144 case MachineRepresentation::kSimdBool16:
142 case MachineRepresentation::kNone: 145 case MachineRepresentation::kNone:
143 break; 146 break;
144 } 147 }
145 UNREACHABLE(); 148 UNREACHABLE();
146 return UseInfo::None(); 149 return UseInfo::None();
147 } 150 }
148 151
149 152
150 UseInfo UseInfoForBasePointer(const FieldAccess& access) { 153 UseInfo UseInfoForBasePointer(const FieldAccess& access) {
151 return access.tag() != 0 ? UseInfo::AnyTagged() : UseInfo::PointerInt(); 154 return access.tag() != 0 ? UseInfo::AnyTagged() : UseInfo::PointerInt();
(...skipping 3358 matching lines...) Expand 10 before | Expand all | Expand 10 after
3510 isolate(), graph()->zone(), callable.descriptor(), 0, flags, 3513 isolate(), graph()->zone(), callable.descriptor(), 0, flags,
3511 Operator::kNoProperties); 3514 Operator::kNoProperties);
3512 to_number_operator_.set(common()->Call(desc)); 3515 to_number_operator_.set(common()->Call(desc));
3513 } 3516 }
3514 return to_number_operator_.get(); 3517 return to_number_operator_.get();
3515 } 3518 }
3516 3519
3517 } // namespace compiler 3520 } // namespace compiler
3518 } // namespace internal 3521 } // namespace internal
3519 } // namespace v8 3522 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698