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

Side by Side Diff: src/compiler/js-native-context-specialization.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 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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/js-native-context-specialization.h" 5 #include "src/compiler/js-native-context-specialization.h"
6 6
7 #include "src/accessors.h" 7 #include "src/accessors.h"
8 #include "src/code-factory.h" 8 #include "src/code-factory.h"
9 #include "src/compilation-dependencies.h" 9 #include "src/compilation-dependencies.h"
10 #include "src/compiler/access-builder.h" 10 #include "src/compiler/access-builder.h"
(...skipping 1507 matching lines...) Expand 10 before | Expand all | Expand 10 after
1518 case MachineRepresentation::kTagged: 1518 case MachineRepresentation::kTagged:
1519 break; 1519 break;
1520 case MachineRepresentation::kNone: 1520 case MachineRepresentation::kNone:
1521 case MachineRepresentation::kBit: 1521 case MachineRepresentation::kBit:
1522 case MachineRepresentation::kWord8: 1522 case MachineRepresentation::kWord8:
1523 case MachineRepresentation::kWord16: 1523 case MachineRepresentation::kWord16:
1524 case MachineRepresentation::kWord32: 1524 case MachineRepresentation::kWord32:
1525 case MachineRepresentation::kWord64: 1525 case MachineRepresentation::kWord64:
1526 case MachineRepresentation::kFloat32: 1526 case MachineRepresentation::kFloat32:
1527 case MachineRepresentation::kSimd128: 1527 case MachineRepresentation::kSimd128:
1528 case MachineRepresentation::kSimdBool4:
1529 case MachineRepresentation::kSimdBool8:
1530 case MachineRepresentation::kSimdBool16:
1528 UNREACHABLE(); 1531 UNREACHABLE();
1529 break; 1532 break;
1530 } 1533 }
1531 Handle<Map> transition_map; 1534 Handle<Map> transition_map;
1532 if (access_info.transition_map().ToHandle(&transition_map)) { 1535 if (access_info.transition_map().ToHandle(&transition_map)) {
1533 effect = graph()->NewNode( 1536 effect = graph()->NewNode(
1534 common()->BeginRegion(RegionObservability::kObservable), effect); 1537 common()->BeginRegion(RegionObservability::kObservable), effect);
1535 effect = graph()->NewNode( 1538 effect = graph()->NewNode(
1536 simplified()->StoreField(AccessBuilder::ForMap()), receiver, 1539 simplified()->StoreField(AccessBuilder::ForMap()), receiver,
1537 jsgraph()->Constant(transition_map), effect, control); 1540 jsgraph()->Constant(transition_map), effect, control);
(...skipping 709 matching lines...) Expand 10 before | Expand all | Expand 10 after
2247 return jsgraph()->javascript(); 2250 return jsgraph()->javascript();
2248 } 2251 }
2249 2252
2250 SimplifiedOperatorBuilder* JSNativeContextSpecialization::simplified() const { 2253 SimplifiedOperatorBuilder* JSNativeContextSpecialization::simplified() const {
2251 return jsgraph()->simplified(); 2254 return jsgraph()->simplified();
2252 } 2255 }
2253 2256
2254 } // namespace compiler 2257 } // namespace compiler
2255 } // namespace internal 2258 } // namespace internal
2256 } // namespace v8 2259 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698