OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 the V8 project authors. All rights reserved. |
2 // | 2 // |
3 // Redistribution and use in source and binary forms, with or without | 3 // Redistribution and use in source and binary forms, with or without |
4 // modification, are permitted provided that the following conditions are | 4 // modification, are permitted provided that the following conditions are |
5 // met: | 5 // met: |
6 // | 6 // |
7 // * Redistributions of source code must retain the above copyright | 7 // * Redistributions of source code must retain the above copyright |
8 // notice, this list of conditions and the following disclaimer. | 8 // notice, this list of conditions and the following disclaimer. |
9 // * Redistributions in binary form must reproduce the above | 9 // * Redistributions in binary form must reproduce the above |
10 // copyright notice, this list of conditions and the following | 10 // copyright notice, this list of conditions and the following |
(...skipping 15 matching lines...) Expand all Loading... |
26 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 26 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
27 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 27 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
28 | 28 |
29 #include "src/v8.h" | 29 #include "src/v8.h" |
30 | 30 |
31 #if V8_TARGET_ARCH_ARM64 | 31 #if V8_TARGET_ARCH_ARM64 |
32 | 32 |
33 #define ARM64_DEFINE_REG_STATICS | 33 #define ARM64_DEFINE_REG_STATICS |
34 | 34 |
35 #include "src/arm64/assembler-arm64-inl.h" | 35 #include "src/arm64/assembler-arm64-inl.h" |
| 36 #include "src/arm64/frames-arm64.h" |
36 #include "src/base/bits.h" | 37 #include "src/base/bits.h" |
37 #include "src/base/cpu.h" | 38 #include "src/base/cpu.h" |
38 | 39 |
39 namespace v8 { | 40 namespace v8 { |
40 namespace internal { | 41 namespace internal { |
41 | 42 |
42 | 43 |
43 // ----------------------------------------------------------------------------- | 44 // ----------------------------------------------------------------------------- |
44 // CpuFeatures implementation. | 45 // CpuFeatures implementation. |
45 | 46 |
(...skipping 3123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3169 movk(scratch, (target_offset >> 32) & 0xFFFF, 32); | 3170 movk(scratch, (target_offset >> 32) & 0xFFFF, 32); |
3170 DCHECK((target_offset >> 48) == 0); | 3171 DCHECK((target_offset >> 48) == 0); |
3171 add(rd, rd, scratch); | 3172 add(rd, rd, scratch); |
3172 } | 3173 } |
3173 | 3174 |
3174 | 3175 |
3175 } // namespace internal | 3176 } // namespace internal |
3176 } // namespace v8 | 3177 } // namespace v8 |
3177 | 3178 |
3178 #endif // V8_TARGET_ARCH_ARM64 | 3179 #endif // V8_TARGET_ARCH_ARM64 |
OLD | NEW |