OLD | NEW |
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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_X64. | 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_X64. |
6 #if defined(TARGET_ARCH_X64) | 6 #if defined(TARGET_ARCH_X64) |
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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 bool FlowGraphCompiler::SupportsUnboxedMints() { | 45 bool FlowGraphCompiler::SupportsUnboxedMints() { |
46 return FLAG_unbox_mints; | 46 return FLAG_unbox_mints; |
47 } | 47 } |
48 | 48 |
49 | 49 |
50 bool FlowGraphCompiler::SupportsUnboxedSimd128() { | 50 bool FlowGraphCompiler::SupportsUnboxedSimd128() { |
51 return FLAG_enable_simd_inline; | 51 return FLAG_enable_simd_inline; |
52 } | 52 } |
53 | 53 |
54 | 54 |
55 bool FlowGraphCompiler::SupportsSinCos() { | |
56 return true; | |
57 } | |
58 | |
59 | |
60 bool FlowGraphCompiler::SupportsHardwareDivision() { | 55 bool FlowGraphCompiler::SupportsHardwareDivision() { |
61 return true; | 56 return true; |
62 } | 57 } |
63 | 58 |
64 | 59 |
65 bool FlowGraphCompiler::CanConvertUnboxedMintToDouble() { | 60 bool FlowGraphCompiler::CanConvertUnboxedMintToDouble() { |
66 return false; | 61 return false; |
67 } | 62 } |
68 | 63 |
69 | 64 |
(...skipping 1708 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1778 __ movups(reg, Address(RSP, 0)); | 1773 __ movups(reg, Address(RSP, 0)); |
1779 __ AddImmediate(RSP, Immediate(kFpuRegisterSize)); | 1774 __ AddImmediate(RSP, Immediate(kFpuRegisterSize)); |
1780 } | 1775 } |
1781 | 1776 |
1782 | 1777 |
1783 #undef __ | 1778 #undef __ |
1784 | 1779 |
1785 } // namespace dart | 1780 } // namespace dart |
1786 | 1781 |
1787 #endif // defined TARGET_ARCH_X64 | 1782 #endif // defined TARGET_ARCH_X64 |
OLD | NEW |