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

Side by Side Diff: src/machine-type.h

Issue 2092103004: [Turbofan] Add Simd128 registers to RegisterConfiguration. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Add simd128 mask. Created 4 years, 5 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 #ifndef V8_MACHINE_TYPE_H_ 5 #ifndef V8_MACHINE_TYPE_H_
6 #define V8_MACHINE_TYPE_H_ 6 #define V8_MACHINE_TYPE_H_
7 7
8 #include <iosfwd> 8 #include <iosfwd>
9 9
10 #include "src/base/bits.h" 10 #include "src/base/bits.h"
11 #include "src/globals.h" 11 #include "src/globals.h"
12 #include "src/signature.h" 12 #include "src/signature.h"
13 #include "src/zone.h" 13 #include "src/zone.h"
14 14
15 namespace v8 { 15 namespace v8 {
16 namespace internal { 16 namespace internal {
17 17
18 enum class MachineRepresentation : uint8_t { 18 enum class MachineRepresentation : uint8_t {
19 kNone, 19 kNone,
20 kBit, 20 kBit,
21 kWord8, 21 kWord8,
22 kWord16, 22 kWord16,
23 kWord32, 23 kWord32,
24 kWord64, 24 kWord64,
25 kFloat32, 25 kFloat32,
26 kFloat64, 26 kFloat64, // must follow kFloat32
27 kSimd128, 27 kSimd128, // must follow kFloat64
28 kTagged 28 kTagged
29 }; 29 };
30 30
31 enum class MachineSemantic : uint8_t { 31 enum class MachineSemantic : uint8_t {
32 kNone, 32 kNone,
33 kBool, 33 kBool,
34 kInt32, 34 kInt32,
35 kUint32, 35 kUint32,
36 kInt64, 36 kInt64,
37 kUint64, 37 kUint64,
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 UNREACHABLE(); 205 UNREACHABLE();
206 return -1; 206 return -1;
207 } 207 }
208 208
209 typedef Signature<MachineType> MachineSignature; 209 typedef Signature<MachineType> MachineSignature;
210 210
211 } // namespace internal 211 } // namespace internal
212 } // namespace v8 212 } // namespace v8
213 213
214 #endif // V8_MACHINE_TYPE_H_ 214 #endif // V8_MACHINE_TYPE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698