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_MIPS. | 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_MIPS. |
6 #if defined(TARGET_ARCH_MIPS) | 6 #if defined(TARGET_ARCH_MIPS) |
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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 bool FlowGraphCompiler::SupportsUnboxedSimd128() { | 47 bool FlowGraphCompiler::SupportsUnboxedSimd128() { |
48 return false; | 48 return false; |
49 } | 49 } |
50 | 50 |
51 | 51 |
52 bool FlowGraphCompiler::SupportsSinCos() { | 52 bool FlowGraphCompiler::SupportsSinCos() { |
53 return false; | 53 return false; |
54 } | 54 } |
55 | 55 |
56 | 56 |
| 57 bool FlowGraphCompiler::SupportsHardwareDivision() { |
| 58 return true; |
| 59 } |
| 60 |
| 61 |
57 void FlowGraphCompiler::EnterIntrinsicMode() { | 62 void FlowGraphCompiler::EnterIntrinsicMode() { |
58 ASSERT(!intrinsic_mode()); | 63 ASSERT(!intrinsic_mode()); |
59 intrinsic_mode_ = true; | 64 intrinsic_mode_ = true; |
60 assembler()->set_allow_constant_pool(false); | 65 assembler()->set_allow_constant_pool(false); |
61 } | 66 } |
62 | 67 |
63 | 68 |
64 void FlowGraphCompiler::ExitIntrinsicMode() { | 69 void FlowGraphCompiler::ExitIntrinsicMode() { |
65 ASSERT(intrinsic_mode()); | 70 ASSERT(intrinsic_mode()); |
66 intrinsic_mode_ = false; | 71 intrinsic_mode_ = false; |
(...skipping 1793 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1860 __ AddImmediate(SP, kDoubleSize); | 1865 __ AddImmediate(SP, kDoubleSize); |
1861 } | 1866 } |
1862 | 1867 |
1863 | 1868 |
1864 #undef __ | 1869 #undef __ |
1865 | 1870 |
1866 | 1871 |
1867 } // namespace dart | 1872 } // namespace dart |
1868 | 1873 |
1869 #endif // defined TARGET_ARCH_MIPS | 1874 #endif // defined TARGET_ARCH_MIPS |
OLD | NEW |