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

Side by Side Diff: src/arm64/assembler-arm64.h

Issue 2092103004: [Turbofan] Add Simd128 registers to RegisterConfiguration. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Eliminate some dead code, simplify. 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
« no previous file with comments | « src/arm/assembler-arm.h ('k') | src/compiler/move-optimizer.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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_ARM64_ASSEMBLER_ARM64_H_ 5 #ifndef V8_ARM64_ASSEMBLER_ARM64_H_
6 #define V8_ARM64_ASSEMBLER_ARM64_H_ 6 #define V8_ARM64_ASSEMBLER_ARM64_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <list> 9 #include <list>
10 #include <map> 10 #include <map>
(...skipping 22 matching lines...) Expand all
33 R(x0) R(x1) R(x2) R(x3) R(x4) R(x5) R(x6) R(x7) \ 33 R(x0) R(x1) R(x2) R(x3) R(x4) R(x5) R(x6) R(x7) \
34 R(x8) R(x9) R(x10) R(x11) R(x12) R(x13) R(x14) R(x15) \ 34 R(x8) R(x9) R(x10) R(x11) R(x12) R(x13) R(x14) R(x15) \
35 R(x16) R(x17) R(x18) R(x19) R(x20) R(x21) R(x22) R(x23) \ 35 R(x16) R(x17) R(x18) R(x19) R(x20) R(x21) R(x22) R(x23) \
36 R(x24) R(x25) R(x26) R(x27) R(x28) R(x29) R(x30) R(x31) 36 R(x24) R(x25) R(x26) R(x27) R(x28) R(x29) R(x30) R(x31)
37 37
38 #define ALLOCATABLE_GENERAL_REGISTERS(R) \ 38 #define ALLOCATABLE_GENERAL_REGISTERS(R) \
39 R(x0) R(x1) R(x2) R(x3) R(x4) R(x5) R(x6) R(x7) \ 39 R(x0) R(x1) R(x2) R(x3) R(x4) R(x5) R(x6) R(x7) \
40 R(x8) R(x9) R(x10) R(x11) R(x12) R(x13) R(x14) R(x15) \ 40 R(x8) R(x9) R(x10) R(x11) R(x12) R(x13) R(x14) R(x15) \
41 R(x18) R(x19) R(x20) R(x21) R(x22) R(x23) R(x24) R(x27) 41 R(x18) R(x19) R(x20) R(x21) R(x22) R(x23) R(x24) R(x27)
42 42
43 #define FLOAT_REGISTERS(V) \ 43 #define FLOAT_REGISTERS(V) \
44 V(s0) V(s1) V(s2) V(s3) V(s4) V(s5) V(s6) V(s7) \ 44 V(s0) V(s1) V(s2) V(s3) V(s4) V(s5) V(s6) V(s7) \
45 V(s8) V(s9) V(s10) V(s11) V(s12) V(s13) V(s14) V(s15) \ 45 V(s8) V(s9) V(s10) V(s11) V(s12) V(s13) V(s14) V(s15) \
46 V(s16) V(s17) V(s18) V(s19) V(s20) V(s21) V(s22) V(s23) \ 46 V(s16) V(s17) V(s18) V(s19) V(s20) V(s21) V(s22) V(s23) \
47 V(s24) V(s25) V(s26) V(s27) V(s28) V(s29) V(s30) V(s31) 47 V(s24) V(s25) V(s26) V(s27) V(s28) V(s29) V(s30) V(s31)
48 48
49 #define DOUBLE_REGISTERS(R) \ 49 #define DOUBLE_REGISTERS(R) \
50 R(d0) R(d1) R(d2) R(d3) R(d4) R(d5) R(d6) R(d7) \ 50 R(d0) R(d1) R(d2) R(d3) R(d4) R(d5) R(d6) R(d7) \
51 R(d8) R(d9) R(d10) R(d11) R(d12) R(d13) R(d14) R(d15) \ 51 R(d8) R(d9) R(d10) R(d11) R(d12) R(d13) R(d14) R(d15) \
52 R(d16) R(d17) R(d18) R(d19) R(d20) R(d21) R(d22) R(d23) \ 52 R(d16) R(d17) R(d18) R(d19) R(d20) R(d21) R(d22) R(d23) \
53 R(d24) R(d25) R(d26) R(d27) R(d28) R(d29) R(d30) R(d31) 53 R(d24) R(d25) R(d26) R(d27) R(d28) R(d29) R(d30) R(d31)
54 54
55 #define SIMD128_REGISTERS(V) \
56 V(q0) V(q1) V(q2) V(q3) V(q4) V(q5) V(q6) V(q7) \
57 V(q8) V(q9) V(q10) V(q11) V(q12) V(q13) V(q14) V(q15)
58
55 #define ALLOCATABLE_DOUBLE_REGISTERS(R) \ 59 #define ALLOCATABLE_DOUBLE_REGISTERS(R) \
56 R(d0) R(d1) R(d2) R(d3) R(d4) R(d5) R(d6) R(d7) \ 60 R(d0) R(d1) R(d2) R(d3) R(d4) R(d5) R(d6) R(d7) \
57 R(d8) R(d9) R(d10) R(d11) R(d12) R(d13) R(d14) R(d16) \ 61 R(d8) R(d9) R(d10) R(d11) R(d12) R(d13) R(d14) R(d16) \
58 R(d17) R(d18) R(d19) R(d20) R(d21) R(d22) R(d23) R(d24) \ 62 R(d17) R(d18) R(d19) R(d20) R(d21) R(d22) R(d23) R(d24) \
59 R(d25) R(d26) R(d27) R(d28) 63 R(d25) R(d26) R(d27) R(d28)
60 // clang-format on 64 // clang-format on
61 65
62 static const int kRegListSizeInBits = sizeof(RegList) * kBitsPerByte; 66 static const int kRegListSizeInBits = sizeof(RegList) * kBitsPerByte;
63 67
64 68
(...skipping 2163 matching lines...) Expand 10 before | Expand all | Expand 10 after
2228 public: 2232 public:
2229 explicit EnsureSpace(Assembler* assembler) { 2233 explicit EnsureSpace(Assembler* assembler) {
2230 assembler->CheckBufferSpace(); 2234 assembler->CheckBufferSpace();
2231 } 2235 }
2232 }; 2236 };
2233 2237
2234 } // namespace internal 2238 } // namespace internal
2235 } // namespace v8 2239 } // namespace v8
2236 2240
2237 #endif // V8_ARM64_ASSEMBLER_ARM64_H_ 2241 #endif // V8_ARM64_ASSEMBLER_ARM64_H_
OLDNEW
« no previous file with comments | « src/arm/assembler-arm.h ('k') | src/compiler/move-optimizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698