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/js-native-context-specialization.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
« no previous file with comments | « src/compiler/instruction-selector.cc ('k') | src/compiler/load-elimination.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 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 1582 matching lines...) Expand 10 before | Expand all | Expand 10 after
1593 } 1593 }
1594 break; 1594 break;
1595 case MachineRepresentation::kNone: 1595 case MachineRepresentation::kNone:
1596 case MachineRepresentation::kBit: 1596 case MachineRepresentation::kBit:
1597 case MachineRepresentation::kWord8: 1597 case MachineRepresentation::kWord8:
1598 case MachineRepresentation::kWord16: 1598 case MachineRepresentation::kWord16:
1599 case MachineRepresentation::kWord32: 1599 case MachineRepresentation::kWord32:
1600 case MachineRepresentation::kWord64: 1600 case MachineRepresentation::kWord64:
1601 case MachineRepresentation::kFloat32: 1601 case MachineRepresentation::kFloat32:
1602 case MachineRepresentation::kSimd128: 1602 case MachineRepresentation::kSimd128:
1603 case MachineRepresentation::kSimd1x4:
1604 case MachineRepresentation::kSimd1x8:
1605 case MachineRepresentation::kSimd1x16:
1603 UNREACHABLE(); 1606 UNREACHABLE();
1604 break; 1607 break;
1605 } 1608 }
1606 Handle<Map> transition_map; 1609 Handle<Map> transition_map;
1607 if (access_info.transition_map().ToHandle(&transition_map)) { 1610 if (access_info.transition_map().ToHandle(&transition_map)) {
1608 effect = graph()->NewNode( 1611 effect = graph()->NewNode(
1609 common()->BeginRegion(RegionObservability::kObservable), effect); 1612 common()->BeginRegion(RegionObservability::kObservable), effect);
1610 effect = graph()->NewNode( 1613 effect = graph()->NewNode(
1611 simplified()->StoreField(AccessBuilder::ForMap()), receiver, 1614 simplified()->StoreField(AccessBuilder::ForMap()), receiver,
1612 jsgraph()->Constant(transition_map), effect, control); 1615 jsgraph()->Constant(transition_map), effect, control);
(...skipping 686 matching lines...) Expand 10 before | Expand all | Expand 10 after
2299 return jsgraph()->javascript(); 2302 return jsgraph()->javascript();
2300 } 2303 }
2301 2304
2302 SimplifiedOperatorBuilder* JSNativeContextSpecialization::simplified() const { 2305 SimplifiedOperatorBuilder* JSNativeContextSpecialization::simplified() const {
2303 return jsgraph()->simplified(); 2306 return jsgraph()->simplified();
2304 } 2307 }
2305 2308
2306 } // namespace compiler 2309 } // namespace compiler
2307 } // namespace internal 2310 } // namespace internal
2308 } // namespace v8 2311 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/instruction-selector.cc ('k') | src/compiler/load-elimination.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698