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

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

Issue 2700813002: [V8] Implement SIMD Boolean vector types to allow mask registers. (Closed)
Patch Set: Rebase. 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::kSimd1x4:
143 case MachineRepresentation::kSimd1x8:
144 case MachineRepresentation::kSimd1x16:
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 3361 matching lines...) Expand 10 before | Expand all | Expand 10 after
3513 isolate(), graph()->zone(), callable.descriptor(), 0, flags, 3516 isolate(), graph()->zone(), callable.descriptor(), 0, flags,
3514 Operator::kNoProperties); 3517 Operator::kNoProperties);
3515 to_number_operator_.set(common()->Call(desc)); 3518 to_number_operator_.set(common()->Call(desc));
3516 } 3519 }
3517 return to_number_operator_.get(); 3520 return to_number_operator_.get();
3518 } 3521 }
3519 3522
3520 } // namespace compiler 3523 } // namespace compiler
3521 } // namespace internal 3524 } // namespace internal
3522 } // namespace v8 3525 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/s390/instruction-selector-s390.cc ('k') | src/compiler/x64/instruction-selector-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698