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

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: 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
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 3458 matching lines...) Expand 10 before | Expand all | Expand 10 after
3575 spill_operand); 3577 spill_operand);
3576 } 3578 }
3577 } 3579 }
3578 } 3580 }
3579 } 3581 }
3580 3582
3581 3583
3582 } // namespace compiler 3584 } // namespace compiler
3583 } // namespace internal 3585 } // namespace internal
3584 } // namespace v8 3586 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698