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

Side by Side Diff: src/machine-type.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/machine-type.h ('k') | src/wasm/function-body-decoder.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 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/machine-type.h" 5 #include "src/machine-type.h"
6 #include "src/ostreams.h" 6 #include "src/ostreams.h"
7 7
8 namespace v8 { 8 namespace v8 {
9 namespace internal { 9 namespace internal {
10 10
(...skipping 14 matching lines...) Expand all
25 case MachineRepresentation::kWord32: 25 case MachineRepresentation::kWord32:
26 return "kRepWord32"; 26 return "kRepWord32";
27 case MachineRepresentation::kWord64: 27 case MachineRepresentation::kWord64:
28 return "kRepWord64"; 28 return "kRepWord64";
29 case MachineRepresentation::kFloat32: 29 case MachineRepresentation::kFloat32:
30 return "kRepFloat32"; 30 return "kRepFloat32";
31 case MachineRepresentation::kFloat64: 31 case MachineRepresentation::kFloat64:
32 return "kRepFloat64"; 32 return "kRepFloat64";
33 case MachineRepresentation::kSimd128: 33 case MachineRepresentation::kSimd128:
34 return "kRepSimd128"; 34 return "kRepSimd128";
35 case MachineRepresentation::kSimd1x4:
36 return "kRepSimd1x4";
37 case MachineRepresentation::kSimd1x8:
38 return "kRepSimd1x8";
39 case MachineRepresentation::kSimd1x16:
40 return "kRepSimd1x16";
41 case MachineRepresentation::kTaggedSigned: 35 case MachineRepresentation::kTaggedSigned:
42 return "kRepTaggedSigned"; 36 return "kRepTaggedSigned";
43 case MachineRepresentation::kTaggedPointer: 37 case MachineRepresentation::kTaggedPointer:
44 return "kRepTaggedPointer"; 38 return "kRepTaggedPointer";
45 case MachineRepresentation::kTagged: 39 case MachineRepresentation::kTagged:
46 return "kRepTagged"; 40 return "kRepTagged";
47 } 41 }
48 UNREACHABLE(); 42 UNREACHABLE();
49 } 43 }
50 44
(...skipping 28 matching lines...) Expand all
79 } else if (type.semantic() == MachineSemantic::kNone) { 73 } else if (type.semantic() == MachineSemantic::kNone) {
80 return os << type.representation(); 74 return os << type.representation();
81 } else { 75 } else {
82 return os << type.representation() << "|" << type.semantic(); 76 return os << type.representation() << "|" << type.semantic();
83 } 77 }
84 return os; 78 return os;
85 } 79 }
86 80
87 } // namespace internal 81 } // namespace internal
88 } // namespace v8 82 } // namespace v8
OLDNEW
« no previous file with comments | « src/machine-type.h ('k') | src/wasm/function-body-decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698