| 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 bool FlowGraphCompiler::SupportsUnboxedMints() { | 44 bool FlowGraphCompiler::SupportsUnboxedMints() { |
| 45 return false; | 45 return false; |
| 46 } | 46 } |
| 47 | 47 |
| 48 | 48 |
| 49 bool FlowGraphCompiler::SupportsUnboxedSimd128() { | 49 bool FlowGraphCompiler::SupportsUnboxedSimd128() { |
| 50 return FLAG_enable_simd_inline; | 50 return FLAG_enable_simd_inline; |
| 51 } | 51 } |
| 52 | 52 |
| 53 | 53 |
| 54 bool FlowGraphCompiler::SupportsSinCos() { | |
| 55 return false; | |
| 56 } | |
| 57 | |
| 58 | |
| 59 bool FlowGraphCompiler::CanConvertUnboxedMintToDouble() { | 54 bool FlowGraphCompiler::CanConvertUnboxedMintToDouble() { |
| 60 // ARM does not have a short instruction sequence for converting int64 to | 55 // ARM does not have a short instruction sequence for converting int64 to |
| 61 // double. | 56 // double. |
| 62 return false; | 57 return false; |
| 63 } | 58 } |
| 64 | 59 |
| 65 | 60 |
| 66 bool FlowGraphCompiler::SupportsHardwareDivision() { | 61 bool FlowGraphCompiler::SupportsHardwareDivision() { |
| 67 return true; | 62 return true; |
| 68 } | 63 } |
| (...skipping 1786 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1855 void ParallelMoveResolver::RestoreFpuScratch(FpuRegister reg) { | 1850 void ParallelMoveResolver::RestoreFpuScratch(FpuRegister reg) { |
| 1856 __ PopDouble(reg); | 1851 __ PopDouble(reg); |
| 1857 } | 1852 } |
| 1858 | 1853 |
| 1859 | 1854 |
| 1860 #undef __ | 1855 #undef __ |
| 1861 | 1856 |
| 1862 } // namespace dart | 1857 } // namespace dart |
| 1863 | 1858 |
| 1864 #endif // defined TARGET_ARCH_ARM64 | 1859 #endif // defined TARGET_ARCH_ARM64 |
| OLD | NEW |