OLD | NEW |
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 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
191 | 191 |
192 static Register from_code(int code) { | 192 static Register from_code(int code) { |
193 // Always return an X register. | 193 // Always return an X register. |
194 return Register::Create(code, kXRegSizeInBits); | 194 return Register::Create(code, kXRegSizeInBits); |
195 } | 195 } |
196 | 196 |
197 // End of V8 compatibility section ----------------------- | 197 // End of V8 compatibility section ----------------------- |
198 }; | 198 }; |
199 | 199 |
200 static const bool kSimpleFPAliasing = true; | 200 static const bool kSimpleFPAliasing = true; |
| 201 static const bool kSimdMaskRegisters = false; |
201 | 202 |
202 struct FPRegister : public CPURegister { | 203 struct FPRegister : public CPURegister { |
203 enum Code { | 204 enum Code { |
204 #define REGISTER_CODE(R) kCode_##R, | 205 #define REGISTER_CODE(R) kCode_##R, |
205 DOUBLE_REGISTERS(REGISTER_CODE) | 206 DOUBLE_REGISTERS(REGISTER_CODE) |
206 #undef REGISTER_CODE | 207 #undef REGISTER_CODE |
207 kAfterLast, | 208 kAfterLast, |
208 kCode_no_reg = -1 | 209 kCode_no_reg = -1 |
209 }; | 210 }; |
210 | 211 |
(...skipping 2019 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2230 public: | 2231 public: |
2231 explicit EnsureSpace(Assembler* assembler) { | 2232 explicit EnsureSpace(Assembler* assembler) { |
2232 assembler->CheckBufferSpace(); | 2233 assembler->CheckBufferSpace(); |
2233 } | 2234 } |
2234 }; | 2235 }; |
2235 | 2236 |
2236 } // namespace internal | 2237 } // namespace internal |
2237 } // namespace v8 | 2238 } // namespace v8 |
2238 | 2239 |
2239 #endif // V8_ARM64_ASSEMBLER_ARM64_H_ | 2240 #endif // V8_ARM64_ASSEMBLER_ARM64_H_ |
OLD | NEW |