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

Side by Side Diff: src/compiler/register-allocator.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/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/base/adapters.h" 5 #include "src/base/adapters.h"
6 #include "src/compiler/linkage.h" 6 #include "src/compiler/linkage.h"
7 #include "src/compiler/register-allocator.h" 7 #include "src/compiler/register-allocator.h"
8 #include "src/string-stream.h" 8 #include "src/string-stream.h"
9 9
10 namespace v8 { 10 namespace v8 {
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 case MachineRepresentation::kTaggedSigned: 79 case MachineRepresentation::kTaggedSigned:
80 case MachineRepresentation::kTaggedPointer: 80 case MachineRepresentation::kTaggedPointer:
81 case MachineRepresentation::kTagged: 81 case MachineRepresentation::kTagged:
82 case MachineRepresentation::kFloat32: 82 case MachineRepresentation::kFloat32:
83 return kPointerSize; 83 return kPointerSize;
84 case MachineRepresentation::kWord64: 84 case MachineRepresentation::kWord64:
85 case MachineRepresentation::kFloat64: 85 case MachineRepresentation::kFloat64:
86 return kDoubleSize; 86 return kDoubleSize;
87 case MachineRepresentation::kSimd128: 87 case MachineRepresentation::kSimd128:
88 return kSimd128Size; 88 return kSimd128Size;
89 case MachineRepresentation::kSimd1x4:
90 case MachineRepresentation::kSimd1x8:
91 case MachineRepresentation::kSimd1x16:
92 return kSimdMaskRegisters ? kPointerSize : kSimd128Size;
89 case MachineRepresentation::kNone: 93 case MachineRepresentation::kNone:
90 break; 94 break;
91 } 95 }
92 UNREACHABLE(); 96 UNREACHABLE();
93 return 0; 97 return 0;
94 } 98 }
95 99
96 } // namespace 100 } // namespace
97 101
98 class LiveRangeBound { 102 class LiveRangeBound {
(...skipping 3907 matching lines...) Expand 10 before | Expand all | Expand 10 after
4006 } 4010 }
4007 } 4011 }
4008 } 4012 }
4009 } 4013 }
4010 } 4014 }
4011 4015
4012 4016
4013 } // namespace compiler 4017 } // namespace compiler
4014 } // namespace internal 4018 } // namespace internal
4015 } // 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