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

Side by Side Diff: src/compiler/register-allocator.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/ppc/instruction-selector-ppc.cc ('k') | src/compiler/representation-change.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/compiler/register-allocator.h" 5 #include "src/compiler/register-allocator.h"
6 6
7 #include "src/assembler-inl.h" 7 #include "src/assembler-inl.h"
8 #include "src/base/adapters.h" 8 #include "src/base/adapters.h"
9 #include "src/compiler/linkage.h" 9 #include "src/compiler/linkage.h"
10 #include "src/string-stream.h" 10 #include "src/string-stream.h"
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 case MachineRepresentation::kTaggedSigned: 81 case MachineRepresentation::kTaggedSigned:
82 case MachineRepresentation::kTaggedPointer: 82 case MachineRepresentation::kTaggedPointer:
83 case MachineRepresentation::kTagged: 83 case MachineRepresentation::kTagged:
84 case MachineRepresentation::kFloat32: 84 case MachineRepresentation::kFloat32:
85 return kPointerSize; 85 return kPointerSize;
86 case MachineRepresentation::kWord64: 86 case MachineRepresentation::kWord64:
87 case MachineRepresentation::kFloat64: 87 case MachineRepresentation::kFloat64:
88 return kDoubleSize; 88 return kDoubleSize;
89 case MachineRepresentation::kSimd128: 89 case MachineRepresentation::kSimd128:
90 return kSimd128Size; 90 return kSimd128Size;
91 case MachineRepresentation::kSimd1x4:
92 case MachineRepresentation::kSimd1x8:
93 case MachineRepresentation::kSimd1x16:
94 return kSimdMaskRegisters ? kPointerSize : kSimd128Size;
95 case MachineRepresentation::kNone: 91 case MachineRepresentation::kNone:
96 break; 92 break;
97 } 93 }
98 UNREACHABLE(); 94 UNREACHABLE();
99 } 95 }
100 96
101 } // namespace 97 } // namespace
102 98
103 class LiveRangeBound { 99 class LiveRangeBound {
104 public: 100 public:
(...skipping 3909 matching lines...) Expand 10 before | Expand all | Expand 10 after
4014 } 4010 }
4015 } 4011 }
4016 } 4012 }
4017 } 4013 }
4018 } 4014 }
4019 4015
4020 4016
4021 } // namespace compiler 4017 } // namespace compiler
4022 } // namespace internal 4018 } // namespace internal
4023 } // namespace v8 4019 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/ppc/instruction-selector-ppc.cc ('k') | src/compiler/representation-change.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698