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

Side by Side Diff: src/compiler/register-allocator.cc

Issue 1693963004: Add a kSimd128 machine type for Turbofan. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase. Created 4 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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 case MachineRepresentation::kBit: 97 case MachineRepresentation::kBit:
98 case MachineRepresentation::kWord8: 98 case MachineRepresentation::kWord8:
99 case MachineRepresentation::kWord16: 99 case MachineRepresentation::kWord16:
100 case MachineRepresentation::kWord32: 100 case MachineRepresentation::kWord32:
101 case MachineRepresentation::kTagged: 101 case MachineRepresentation::kTagged:
102 return kPointerSize; 102 return kPointerSize;
103 case MachineRepresentation::kFloat32: 103 case MachineRepresentation::kFloat32:
104 case MachineRepresentation::kWord64: 104 case MachineRepresentation::kWord64:
105 case MachineRepresentation::kFloat64: 105 case MachineRepresentation::kFloat64:
106 return 8; 106 return 8;
107 case MachineRepresentation::kSimd128:
108 return 16;
107 case MachineRepresentation::kNone: 109 case MachineRepresentation::kNone:
108 break; 110 break;
109 } 111 }
110 UNREACHABLE(); 112 UNREACHABLE();
111 return 0; 113 return 0;
112 } 114 }
113 115
114 } // namespace 116 } // namespace
115 117
116 class LiveRangeBound { 118 class LiveRangeBound {
(...skipping 3461 matching lines...) Expand 10 before | Expand all | Expand 10 after
3578 spill_operand); 3580 spill_operand);
3579 } 3581 }
3580 } 3582 }
3581 } 3583 }
3582 } 3584 }
3583 3585
3584 3586
3585 } // namespace compiler 3587 } // namespace compiler
3586 } // namespace internal 3588 } // namespace internal
3587 } // namespace v8 3589 } // 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