Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(306)

Side by Side Diff: runtime/vm/flow_graph_compiler_mips.cc

Issue 2658733002: VM: Remove unused optimization of merging of sin/cos. (Closed)
Patch Set: Remove now unused representation Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « runtime/vm/flow_graph_compiler_ia32.cc ('k') | runtime/vm/flow_graph_compiler_x64.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_compiler_ia32.cc ('k') | runtime/vm/flow_graph_compiler_x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698