OLD | NEW |
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_ARM64. | 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_ARM64. |
6 #if defined(TARGET_ARCH_ARM64) | 6 #if defined(TARGET_ARCH_ARM64) |
7 | 7 |
8 #include "vm/flow_graph_compiler.h" | 8 #include "vm/flow_graph_compiler.h" |
9 | 9 |
10 #include "vm/ast_printer.h" | 10 #include "vm/ast_printer.h" |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 bool FlowGraphCompiler::SupportsUnboxedSimd128() { | 48 bool FlowGraphCompiler::SupportsUnboxedSimd128() { |
49 return FLAG_enable_simd_inline; | 49 return FLAG_enable_simd_inline; |
50 } | 50 } |
51 | 51 |
52 | 52 |
53 bool FlowGraphCompiler::SupportsSinCos() { | 53 bool FlowGraphCompiler::SupportsSinCos() { |
54 return false; | 54 return false; |
55 } | 55 } |
56 | 56 |
57 | 57 |
| 58 bool FlowGraphCompiler::SupportsHardwareDivision() { |
| 59 return true; |
| 60 } |
| 61 |
| 62 |
58 void FlowGraphCompiler::EnterIntrinsicMode() { | 63 void FlowGraphCompiler::EnterIntrinsicMode() { |
59 ASSERT(!intrinsic_mode()); | 64 ASSERT(!intrinsic_mode()); |
60 intrinsic_mode_ = true; | 65 intrinsic_mode_ = true; |
61 assembler()->set_allow_constant_pool(false); | 66 assembler()->set_allow_constant_pool(false); |
62 } | 67 } |
63 | 68 |
64 | 69 |
65 void FlowGraphCompiler::ExitIntrinsicMode() { | 70 void FlowGraphCompiler::ExitIntrinsicMode() { |
66 ASSERT(intrinsic_mode()); | 71 ASSERT(intrinsic_mode()); |
67 intrinsic_mode_ = false; | 72 intrinsic_mode_ = false; |
(...skipping 1759 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1827 void ParallelMoveResolver::RestoreFpuScratch(FpuRegister reg) { | 1832 void ParallelMoveResolver::RestoreFpuScratch(FpuRegister reg) { |
1828 __ PopDouble(reg); | 1833 __ PopDouble(reg); |
1829 } | 1834 } |
1830 | 1835 |
1831 | 1836 |
1832 #undef __ | 1837 #undef __ |
1833 | 1838 |
1834 } // namespace dart | 1839 } // namespace dart |
1835 | 1840 |
1836 #endif // defined TARGET_ARCH_ARM64 | 1841 #endif // defined TARGET_ARCH_ARM64 |
OLD | NEW |