| 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_MACRO_ASSEMBLER_ARM64_H_ | 5 #ifndef V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ |
| 6 #define V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ | 6 #define V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "src/arm64/assembler-arm64.h" | 10 #include "src/arm64/assembler-arm64.h" |
| (...skipping 847 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 858 // | 858 // |
| 859 // This method asserts that StackPointer() is not csp, since the call does | 859 // This method asserts that StackPointer() is not csp, since the call does |
| 860 // not make sense in that context. | 860 // not make sense in that context. |
| 861 inline void SyncSystemStackPointer(); | 861 inline void SyncSystemStackPointer(); |
| 862 | 862 |
| 863 // Helpers ------------------------------------------------------------------ | 863 // Helpers ------------------------------------------------------------------ |
| 864 // Root register. | 864 // Root register. |
| 865 inline void InitializeRootRegister(); | 865 inline void InitializeRootRegister(); |
| 866 | 866 |
| 867 void AssertFPCRState(Register fpcr = NoReg); | 867 void AssertFPCRState(Register fpcr = NoReg); |
| 868 void ConfigureFPCR(); | |
| 869 void CanonicalizeNaN(const FPRegister& dst, const FPRegister& src); | 868 void CanonicalizeNaN(const FPRegister& dst, const FPRegister& src); |
| 870 void CanonicalizeNaN(const FPRegister& reg) { | 869 void CanonicalizeNaN(const FPRegister& reg) { |
| 871 CanonicalizeNaN(reg, reg); | 870 CanonicalizeNaN(reg, reg); |
| 872 } | 871 } |
| 873 | 872 |
| 874 // Load an object from the root table. | 873 // Load an object from the root table. |
| 875 void LoadRoot(CPURegister destination, | 874 void LoadRoot(CPURegister destination, |
| 876 Heap::RootListIndex index); | 875 Heap::RootListIndex index); |
| 877 // Store an object to the root table. | 876 // Store an object to the root table. |
| 878 void StoreRoot(Register source, | 877 void StoreRoot(Register source, |
| (...skipping 1397 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2276 #error "Unsupported option" | 2275 #error "Unsupported option" |
| 2277 #define CODE_COVERAGE_STRINGIFY(x) #x | 2276 #define CODE_COVERAGE_STRINGIFY(x) #x |
| 2278 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) | 2277 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) |
| 2279 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 2278 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
| 2280 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 2279 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
| 2281 #else | 2280 #else |
| 2282 #define ACCESS_MASM(masm) masm-> | 2281 #define ACCESS_MASM(masm) masm-> |
| 2283 #endif | 2282 #endif |
| 2284 | 2283 |
| 2285 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ | 2284 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ |
| OLD | NEW |