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

Side by Side Diff: runtime/vm/flow_graph_compiler_ia32.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_dbc.cc ('k') | runtime/vm/flow_graph_compiler_mips.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_IA32. 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_IA32.
6 #if defined(TARGET_ARCH_IA32) 6 #if defined(TARGET_ARCH_IA32)
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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 bool FlowGraphCompiler::SupportsUnboxedMints() { 49 bool FlowGraphCompiler::SupportsUnboxedMints() {
50 return FLAG_unbox_mints; 50 return FLAG_unbox_mints;
51 } 51 }
52 52
53 53
54 bool FlowGraphCompiler::SupportsUnboxedSimd128() { 54 bool FlowGraphCompiler::SupportsUnboxedSimd128() {
55 return FLAG_enable_simd_inline; 55 return FLAG_enable_simd_inline;
56 } 56 }
57 57
58 58
59 bool FlowGraphCompiler::SupportsSinCos() {
60 return true;
61 }
62
63
64 bool FlowGraphCompiler::SupportsHardwareDivision() { 59 bool FlowGraphCompiler::SupportsHardwareDivision() {
65 return true; 60 return true;
66 } 61 }
67 62
68 63
69 bool FlowGraphCompiler::CanConvertUnboxedMintToDouble() { 64 bool FlowGraphCompiler::CanConvertUnboxedMintToDouble() {
70 return true; 65 return true;
71 } 66 }
72 67
73 68
(...skipping 1701 matching lines...) Expand 10 before | Expand all | Expand 10 after
1775 __ movups(reg, Address(ESP, 0)); 1770 __ movups(reg, Address(ESP, 0));
1776 __ addl(ESP, Immediate(kFpuRegisterSize)); 1771 __ addl(ESP, Immediate(kFpuRegisterSize));
1777 } 1772 }
1778 1773
1779 1774
1780 #undef __ 1775 #undef __
1781 1776
1782 } // namespace dart 1777 } // namespace dart
1783 1778
1784 #endif // defined TARGET_ARCH_IA32 1779 #endif // defined TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_compiler_dbc.cc ('k') | runtime/vm/flow_graph_compiler_mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698