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

Side by Side Diff: src/compiler/representation-change.cc

Issue 2919203002: [WASM] Eliminate SIMD boolean vector types. (Closed)
Patch Set: Restore DCHECKs in AssembleMove/Swap now that we're back to 1 SIMD representation. Created 3 years, 6 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/register-allocator.cc ('k') | src/compiler/s390/instruction-selector-s390.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/representation-change.h" 5 #include "src/compiler/representation-change.h"
6 6
7 #include <sstream> 7 #include <sstream>
8 8
9 #include "src/base/bits.h" 9 #include "src/base/bits.h"
10 #include "src/code-factory.h" 10 #include "src/code-factory.h"
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 return GetBitRepresentationFor(node, output_rep, output_type); 187 return GetBitRepresentationFor(node, output_rep, output_type);
188 case MachineRepresentation::kWord8: 188 case MachineRepresentation::kWord8:
189 case MachineRepresentation::kWord16: 189 case MachineRepresentation::kWord16:
190 case MachineRepresentation::kWord32: 190 case MachineRepresentation::kWord32:
191 return GetWord32RepresentationFor(node, output_rep, output_type, use_node, 191 return GetWord32RepresentationFor(node, output_rep, output_type, use_node,
192 use_info); 192 use_info);
193 case MachineRepresentation::kWord64: 193 case MachineRepresentation::kWord64:
194 DCHECK(use_info.type_check() == TypeCheckKind::kNone); 194 DCHECK(use_info.type_check() == TypeCheckKind::kNone);
195 return GetWord64RepresentationFor(node, output_rep, output_type); 195 return GetWord64RepresentationFor(node, output_rep, output_type);
196 case MachineRepresentation::kSimd128: 196 case MachineRepresentation::kSimd128:
197 case MachineRepresentation::kSimd1x4:
198 case MachineRepresentation::kSimd1x8:
199 case MachineRepresentation::kSimd1x16:
200 case MachineRepresentation::kNone: 197 case MachineRepresentation::kNone:
201 return node; 198 return node;
202 } 199 }
203 UNREACHABLE(); 200 UNREACHABLE();
204 } 201 }
205 202
206 Node* RepresentationChanger::GetTaggedSignedRepresentationFor( 203 Node* RepresentationChanger::GetTaggedSignedRepresentationFor(
207 Node* node, MachineRepresentation output_rep, Type* output_type, 204 Node* node, MachineRepresentation output_rep, Type* output_type,
208 Node* use_node, UseInfo use_info) { 205 Node* use_node, UseInfo use_info) {
209 // Eagerly fold representation changes for constants. 206 // Eagerly fold representation changes for constants.
(...skipping 884 matching lines...) Expand 10 before | Expand all | Expand 10 after
1094 node); 1091 node);
1095 } 1092 }
1096 1093
1097 Node* RepresentationChanger::InsertChangeUint32ToFloat64(Node* node) { 1094 Node* RepresentationChanger::InsertChangeUint32ToFloat64(Node* node) {
1098 return jsgraph()->graph()->NewNode(machine()->ChangeUint32ToFloat64(), node); 1095 return jsgraph()->graph()->NewNode(machine()->ChangeUint32ToFloat64(), node);
1099 } 1096 }
1100 1097
1101 } // namespace compiler 1098 } // namespace compiler
1102 } // namespace internal 1099 } // namespace internal
1103 } // namespace v8 1100 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/register-allocator.cc ('k') | src/compiler/s390/instruction-selector-s390.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698