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

Side by Side Diff: runtime/vm/flow_graph_compiler_x64.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_mips.cc ('k') | runtime/vm/il_printer.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_X64. 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_X64.
6 #if defined(TARGET_ARCH_X64) 6 #if defined(TARGET_ARCH_X64)
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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 bool FlowGraphCompiler::SupportsUnboxedMints() { 45 bool FlowGraphCompiler::SupportsUnboxedMints() {
46 return FLAG_unbox_mints; 46 return FLAG_unbox_mints;
47 } 47 }
48 48
49 49
50 bool FlowGraphCompiler::SupportsUnboxedSimd128() { 50 bool FlowGraphCompiler::SupportsUnboxedSimd128() {
51 return FLAG_enable_simd_inline; 51 return FLAG_enable_simd_inline;
52 } 52 }
53 53
54 54
55 bool FlowGraphCompiler::SupportsSinCos() {
56 return true;
57 }
58
59
60 bool FlowGraphCompiler::SupportsHardwareDivision() { 55 bool FlowGraphCompiler::SupportsHardwareDivision() {
61 return true; 56 return true;
62 } 57 }
63 58
64 59
65 bool FlowGraphCompiler::CanConvertUnboxedMintToDouble() { 60 bool FlowGraphCompiler::CanConvertUnboxedMintToDouble() {
66 return false; 61 return false;
67 } 62 }
68 63
69 64
(...skipping 1708 matching lines...) Expand 10 before | Expand all | Expand 10 after
1778 __ movups(reg, Address(RSP, 0)); 1773 __ movups(reg, Address(RSP, 0));
1779 __ AddImmediate(RSP, Immediate(kFpuRegisterSize)); 1774 __ AddImmediate(RSP, Immediate(kFpuRegisterSize));
1780 } 1775 }
1781 1776
1782 1777
1783 #undef __ 1778 #undef __
1784 1779
1785 } // namespace dart 1780 } // namespace dart
1786 1781
1787 #endif // defined TARGET_ARCH_X64 1782 #endif // defined TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_compiler_mips.cc ('k') | runtime/vm/il_printer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698