| 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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 bool FlowGraphCompiler::SupportsUnboxedMints() { | 49 bool FlowGraphCompiler::SupportsUnboxedMints() { |
| 50 return FLAG_unbox_mints; | 50 return FLAG_unbox_mints; |
| 51 } | 51 } |
| 52 | 52 |
| 53 | 53 |
| 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() { | |
| 60 return true; | |
| 61 } | |
| 62 | |
| 63 | |
| 64 bool FlowGraphCompiler::SupportsHardwareDivision() { | 59 bool FlowGraphCompiler::SupportsHardwareDivision() { |
| 65 return true; | 60 return true; |
| 66 } | 61 } |
| 67 | 62 |
| 68 | 63 |
| 69 bool FlowGraphCompiler::CanConvertUnboxedMintToDouble() { | 64 bool FlowGraphCompiler::CanConvertUnboxedMintToDouble() { |
| 70 return true; | 65 return true; |
| 71 } | 66 } |
| 72 | 67 |
| 73 | 68 |
| (...skipping 1701 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1775 __ movups(reg, Address(ESP, 0)); | 1770 __ movups(reg, Address(ESP, 0)); |
| 1776 __ addl(ESP, Immediate(kFpuRegisterSize)); | 1771 __ addl(ESP, Immediate(kFpuRegisterSize)); |
| 1777 } | 1772 } |
| 1778 | 1773 |
| 1779 | 1774 |
| 1780 #undef __ | 1775 #undef __ |
| 1781 | 1776 |
| 1782 } // namespace dart | 1777 } // namespace dart |
| 1783 | 1778 |
| 1784 #endif // defined TARGET_ARCH_IA32 | 1779 #endif // defined TARGET_ARCH_IA32 |
| OLD | NEW |