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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 bool FlowGraphCompiler::SupportsUnboxedMints() { | 42 bool FlowGraphCompiler::SupportsUnboxedMints() { |
43 return true; | 43 return true; |
44 } | 44 } |
45 | 45 |
46 | 46 |
47 bool FlowGraphCompiler::SupportsUnboxedSimd128() { | 47 bool FlowGraphCompiler::SupportsUnboxedSimd128() { |
48 return false; | 48 return false; |
49 } | 49 } |
50 | 50 |
51 | 51 |
52 bool FlowGraphCompiler::SupportsSinCos() { | |
53 return false; | |
54 } | |
55 | |
56 | |
57 bool FlowGraphCompiler::SupportsHardwareDivision() { | 52 bool FlowGraphCompiler::SupportsHardwareDivision() { |
58 return true; | 53 return true; |
59 } | 54 } |
60 | 55 |
61 | 56 |
62 bool FlowGraphCompiler::CanConvertUnboxedMintToDouble() { | 57 bool FlowGraphCompiler::CanConvertUnboxedMintToDouble() { |
63 // TODO(johnmccutchan): Investigate possibility on MIPS once | 58 // TODO(johnmccutchan): Investigate possibility on MIPS once |
64 // mints are implemented there. | 59 // mints are implemented there. |
65 return false; | 60 return false; |
66 } | 61 } |
(...skipping 1808 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1875 __ AddImmediate(SP, kDoubleSize); | 1870 __ AddImmediate(SP, kDoubleSize); |
1876 } | 1871 } |
1877 | 1872 |
1878 | 1873 |
1879 #undef __ | 1874 #undef __ |
1880 | 1875 |
1881 | 1876 |
1882 } // namespace dart | 1877 } // namespace dart |
1883 | 1878 |
1884 #endif // defined TARGET_ARCH_MIPS | 1879 #endif // defined TARGET_ARCH_MIPS |
OLD | NEW |