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_IA32. | 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_IA32. |
6 #if defined(TARGET_ARCH_IA32) | 6 #if defined(TARGET_ARCH_IA32) |
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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 bool FlowGraphCompiler::SupportsUnboxedSimd128() { | 54 bool FlowGraphCompiler::SupportsUnboxedSimd128() { |
55 return FLAG_enable_simd_inline; | 55 return FLAG_enable_simd_inline; |
56 } | 56 } |
57 | 57 |
58 | 58 |
59 bool FlowGraphCompiler::SupportsSinCos() { | 59 bool FlowGraphCompiler::SupportsSinCos() { |
60 return true; | 60 return true; |
61 } | 61 } |
62 | 62 |
63 | 63 |
| 64 bool FlowGraphCompiler::SupportsHardwareDivision() { |
| 65 return true; |
| 66 } |
| 67 |
| 68 |
64 void FlowGraphCompiler::EnterIntrinsicMode() { | 69 void FlowGraphCompiler::EnterIntrinsicMode() { |
65 ASSERT(!intrinsic_mode()); | 70 ASSERT(!intrinsic_mode()); |
66 intrinsic_mode_ = true; | 71 intrinsic_mode_ = true; |
67 } | 72 } |
68 | 73 |
69 | 74 |
70 void FlowGraphCompiler::ExitIntrinsicMode() { | 75 void FlowGraphCompiler::ExitIntrinsicMode() { |
71 ASSERT(intrinsic_mode()); | 76 ASSERT(intrinsic_mode()); |
72 intrinsic_mode_ = false; | 77 intrinsic_mode_ = false; |
73 } | 78 } |
(...skipping 1767 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1841 __ movups(reg, Address(ESP, 0)); | 1846 __ movups(reg, Address(ESP, 0)); |
1842 __ addl(ESP, Immediate(kFpuRegisterSize)); | 1847 __ addl(ESP, Immediate(kFpuRegisterSize)); |
1843 } | 1848 } |
1844 | 1849 |
1845 | 1850 |
1846 #undef __ | 1851 #undef __ |
1847 | 1852 |
1848 } // namespace dart | 1853 } // namespace dart |
1849 | 1854 |
1850 #endif // defined TARGET_ARCH_IA32 | 1855 #endif // defined TARGET_ARCH_IA32 |
OLD | NEW |