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 #include "v8.h" | 5 #include "src/v8.h" |
6 | 6 |
7 #if V8_TARGET_ARCH_ARM64 | 7 #if V8_TARGET_ARCH_ARM64 |
8 | 8 |
9 #include "codegen.h" | 9 #include "src/codegen.h" |
10 #include "macro-assembler.h" | 10 #include "src/macro-assembler.h" |
11 #include "simulator-arm64.h" | 11 #include "src/arm64/simulator-arm64.h" |
12 | 12 |
13 namespace v8 { | 13 namespace v8 { |
14 namespace internal { | 14 namespace internal { |
15 | 15 |
16 #define __ ACCESS_MASM(masm) | 16 #define __ ACCESS_MASM(masm) |
17 | 17 |
18 #if defined(USE_SIMULATOR) | 18 #if defined(USE_SIMULATOR) |
19 byte* fast_exp_arm64_machine_code = NULL; | 19 byte* fast_exp_arm64_machine_code = NULL; |
20 double fast_exp_simulator(double x) { | 20 double fast_exp_simulator(double x) { |
21 Simulator * simulator = Simulator::current(Isolate::Current()); | 21 Simulator * simulator = Simulator::current(Isolate::Current()); |
(...skipping 589 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
611 __ Fmul(result, double_temp3, double_temp1); | 611 __ Fmul(result, double_temp3, double_temp1); |
612 | 612 |
613 __ Bind(&done); | 613 __ Bind(&done); |
614 } | 614 } |
615 | 615 |
616 #undef __ | 616 #undef __ |
617 | 617 |
618 } } // namespace v8::internal | 618 } } // namespace v8::internal |
619 | 619 |
620 #endif // V8_TARGET_ARCH_ARM64 | 620 #endif // V8_TARGET_ARCH_ARM64 |
OLD | NEW |