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

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

Issue 2658733002: VM: Remove unused optimization of merging of sin/cos. (Closed)
Patch Set: Remove now unused representation Created 3 years, 11 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_arm.cc ('k') | runtime/vm/flow_graph_compiler_dbc.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) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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_ARM64. 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_ARM64.
6 #if defined(TARGET_ARCH_ARM64) 6 #if defined(TARGET_ARCH_ARM64)
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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 bool FlowGraphCompiler::SupportsUnboxedMints() { 44 bool FlowGraphCompiler::SupportsUnboxedMints() {
45 return false; 45 return false;
46 } 46 }
47 47
48 48
49 bool FlowGraphCompiler::SupportsUnboxedSimd128() { 49 bool FlowGraphCompiler::SupportsUnboxedSimd128() {
50 return FLAG_enable_simd_inline; 50 return FLAG_enable_simd_inline;
51 } 51 }
52 52
53 53
54 bool FlowGraphCompiler::SupportsSinCos() {
55 return false;
56 }
57
58
59 bool FlowGraphCompiler::CanConvertUnboxedMintToDouble() { 54 bool FlowGraphCompiler::CanConvertUnboxedMintToDouble() {
60 // ARM does not have a short instruction sequence for converting int64 to 55 // ARM does not have a short instruction sequence for converting int64 to
61 // double. 56 // double.
62 return false; 57 return false;
63 } 58 }
64 59
65 60
66 bool FlowGraphCompiler::SupportsHardwareDivision() { 61 bool FlowGraphCompiler::SupportsHardwareDivision() {
67 return true; 62 return true;
68 } 63 }
(...skipping 1786 matching lines...) Expand 10 before | Expand all | Expand 10 after
1855 void ParallelMoveResolver::RestoreFpuScratch(FpuRegister reg) { 1850 void ParallelMoveResolver::RestoreFpuScratch(FpuRegister reg) {
1856 __ PopDouble(reg); 1851 __ PopDouble(reg);
1857 } 1852 }
1858 1853
1859 1854
1860 #undef __ 1855 #undef __
1861 1856
1862 } // namespace dart 1857 } // namespace dart
1863 1858
1864 #endif // defined TARGET_ARCH_ARM64 1859 #endif // defined TARGET_ARCH_ARM64
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_compiler_arm.cc ('k') | runtime/vm/flow_graph_compiler_dbc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698