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

Side by Side Diff: runtime/vm/flow_graph_compiler_arm.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.h ('k') | runtime/vm/flow_graph_compiler_arm64.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_ARM. 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_ARM.
6 #if defined(TARGET_ARCH_ARM) 6 #if defined(TARGET_ARCH_ARM)
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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 bool FlowGraphCompiler::SupportsUnboxedMints() { 46 bool FlowGraphCompiler::SupportsUnboxedMints() {
47 return FLAG_unbox_mints; 47 return FLAG_unbox_mints;
48 } 48 }
49 49
50 50
51 bool FlowGraphCompiler::SupportsUnboxedSimd128() { 51 bool FlowGraphCompiler::SupportsUnboxedSimd128() {
52 return TargetCPUFeatures::neon_supported() && FLAG_enable_simd_inline; 52 return TargetCPUFeatures::neon_supported() && FLAG_enable_simd_inline;
53 } 53 }
54 54
55 55
56 bool FlowGraphCompiler::SupportsSinCos() {
57 return false;
58 }
59
60
61 bool FlowGraphCompiler::SupportsHardwareDivision() { 56 bool FlowGraphCompiler::SupportsHardwareDivision() {
62 return TargetCPUFeatures::can_divide(); 57 return TargetCPUFeatures::can_divide();
63 } 58 }
64 59
65 60
66 bool FlowGraphCompiler::CanConvertUnboxedMintToDouble() { 61 bool FlowGraphCompiler::CanConvertUnboxedMintToDouble() {
67 // ARM does not have a short instruction sequence for converting int64 to 62 // ARM does not have a short instruction sequence for converting int64 to
68 // double. 63 // double.
69 return false; 64 return false;
70 } 65 }
(...skipping 1841 matching lines...) Expand 10 before | Expand all | Expand 10 after
1912 DRegister dreg = EvenDRegisterOf(reg); 1907 DRegister dreg = EvenDRegisterOf(reg);
1913 __ vldrd(dreg, Address(SP, kDoubleSize, Address::PostIndex)); 1908 __ vldrd(dreg, Address(SP, kDoubleSize, Address::PostIndex));
1914 } 1909 }
1915 1910
1916 1911
1917 #undef __ 1912 #undef __
1918 1913
1919 } // namespace dart 1914 } // namespace dart
1920 1915
1921 #endif // defined TARGET_ARCH_ARM 1916 #endif // defined TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_compiler.h ('k') | runtime/vm/flow_graph_compiler_arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698