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

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

Issue 1700103002: VM: Move representation selection code out of the flow graph optimizer. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: remove some dead code Created 4 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_arm.cc ('k') | runtime/vm/flow_graph_compiler_ia32.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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 bool FlowGraphCompiler::SupportsUnboxedSimd128() { 63 bool FlowGraphCompiler::SupportsUnboxedSimd128() {
64 return FLAG_enable_simd_inline; 64 return FLAG_enable_simd_inline;
65 } 65 }
66 66
67 67
68 bool FlowGraphCompiler::SupportsSinCos() { 68 bool FlowGraphCompiler::SupportsSinCos() {
69 return false; 69 return false;
70 } 70 }
71 71
72 72
73 bool FlowGraphCompiler::CanConvertUnboxedMintToDouble() {
74 // ARM does not have a short instruction sequence for converting int64 to
75 // double.
76 return false;
77 }
78
79
73 bool FlowGraphCompiler::SupportsHardwareDivision() { 80 bool FlowGraphCompiler::SupportsHardwareDivision() {
74 return true; 81 return true;
75 } 82 }
76 83
77 84
78 void FlowGraphCompiler::EnterIntrinsicMode() { 85 void FlowGraphCompiler::EnterIntrinsicMode() {
79 ASSERT(!intrinsic_mode()); 86 ASSERT(!intrinsic_mode());
80 intrinsic_mode_ = true; 87 intrinsic_mode_ = true;
81 ASSERT(!assembler()->constant_pool_allowed()); 88 ASSERT(!assembler()->constant_pool_allowed());
82 } 89 }
(...skipping 1793 matching lines...) Expand 10 before | Expand all | Expand 10 after
1876 void ParallelMoveResolver::RestoreFpuScratch(FpuRegister reg) { 1883 void ParallelMoveResolver::RestoreFpuScratch(FpuRegister reg) {
1877 __ PopDouble(reg); 1884 __ PopDouble(reg);
1878 } 1885 }
1879 1886
1880 1887
1881 #undef __ 1888 #undef __
1882 1889
1883 } // namespace dart 1890 } // namespace dart
1884 1891
1885 #endif // defined TARGET_ARCH_ARM64 1892 #endif // defined TARGET_ARCH_ARM64
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_compiler_arm.cc ('k') | runtime/vm/flow_graph_compiler_ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698