| 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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 bool FlowGraphCompiler::SupportsUnboxedSimd128() { | 63 bool FlowGraphCompiler::SupportsUnboxedSimd128() { |
| 64 return FLAG_enable_simd_inline; | 64 return FLAG_enable_simd_inline; |
| 65 } | 65 } |
| 66 | 66 |
| 67 | 67 |
| 68 bool FlowGraphCompiler::SupportsSinCos() { | 68 bool FlowGraphCompiler::SupportsSinCos() { |
| 69 return false; | 69 return false; |
| 70 } | 70 } |
| 71 | 71 |
| 72 | 72 |
| 73 bool FlowGraphCompiler::CanConvertUnboxedMintToDouble() { |
| 74 // ARM does not have a short instruction sequence for converting int64 to |
| 75 // double. |
| 76 return false; |
| 77 } |
| 78 |
| 79 |
| 73 bool FlowGraphCompiler::SupportsHardwareDivision() { | 80 bool FlowGraphCompiler::SupportsHardwareDivision() { |
| 74 return true; | 81 return true; |
| 75 } | 82 } |
| 76 | 83 |
| 77 | 84 |
| 78 void FlowGraphCompiler::EnterIntrinsicMode() { | 85 void FlowGraphCompiler::EnterIntrinsicMode() { |
| 79 ASSERT(!intrinsic_mode()); | 86 ASSERT(!intrinsic_mode()); |
| 80 intrinsic_mode_ = true; | 87 intrinsic_mode_ = true; |
| 81 ASSERT(!assembler()->constant_pool_allowed()); | 88 ASSERT(!assembler()->constant_pool_allowed()); |
| 82 } | 89 } |
| (...skipping 1793 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1876 void ParallelMoveResolver::RestoreFpuScratch(FpuRegister reg) { | 1883 void ParallelMoveResolver::RestoreFpuScratch(FpuRegister reg) { |
| 1877 __ PopDouble(reg); | 1884 __ PopDouble(reg); |
| 1878 } | 1885 } |
| 1879 | 1886 |
| 1880 | 1887 |
| 1881 #undef __ | 1888 #undef __ |
| 1882 | 1889 |
| 1883 } // namespace dart | 1890 } // namespace dart |
| 1884 | 1891 |
| 1885 #endif // defined TARGET_ARCH_ARM64 | 1892 #endif // defined TARGET_ARCH_ARM64 |
| OLD | NEW |