| 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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 bool FlowGraphCompiler::SupportsSinCos() { | 70 bool FlowGraphCompiler::SupportsSinCos() { |
| 71 return true; | 71 return true; |
| 72 } | 72 } |
| 73 | 73 |
| 74 | 74 |
| 75 bool FlowGraphCompiler::SupportsHardwareDivision() { | 75 bool FlowGraphCompiler::SupportsHardwareDivision() { |
| 76 return true; | 76 return true; |
| 77 } | 77 } |
| 78 | 78 |
| 79 | 79 |
| 80 bool FlowGraphCompiler::CanConvertUnboxedMintToDouble() { |
| 81 return false; |
| 82 } |
| 83 |
| 84 |
| 80 void FlowGraphCompiler::EnterIntrinsicMode() { | 85 void FlowGraphCompiler::EnterIntrinsicMode() { |
| 81 ASSERT(!intrinsic_mode()); | 86 ASSERT(!intrinsic_mode()); |
| 82 intrinsic_mode_ = true; | 87 intrinsic_mode_ = true; |
| 83 ASSERT(!assembler()->constant_pool_allowed()); | 88 ASSERT(!assembler()->constant_pool_allowed()); |
| 84 } | 89 } |
| 85 | 90 |
| 86 | 91 |
| 87 void FlowGraphCompiler::ExitIntrinsicMode() { | 92 void FlowGraphCompiler::ExitIntrinsicMode() { |
| 88 ASSERT(intrinsic_mode()); | 93 ASSERT(intrinsic_mode()); |
| 89 intrinsic_mode_ = false; | 94 intrinsic_mode_ = false; |
| (...skipping 1725 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1815 __ movups(reg, Address(RSP, 0)); | 1820 __ movups(reg, Address(RSP, 0)); |
| 1816 __ AddImmediate(RSP, Immediate(kFpuRegisterSize)); | 1821 __ AddImmediate(RSP, Immediate(kFpuRegisterSize)); |
| 1817 } | 1822 } |
| 1818 | 1823 |
| 1819 | 1824 |
| 1820 #undef __ | 1825 #undef __ |
| 1821 | 1826 |
| 1822 } // namespace dart | 1827 } // namespace dart |
| 1823 | 1828 |
| 1824 #endif // defined TARGET_ARCH_X64 | 1829 #endif // defined TARGET_ARCH_X64 |
| OLD | NEW |