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

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

Issue 1043943002: A few fixes for ARMv5TE. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 5 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « runtime/vm/flow_graph_compiler_mips.cc ('k') | runtime/vm/flow_graph_optimizer.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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 return FLAG_enable_simd_inline; 52 return FLAG_enable_simd_inline;
53 } 53 }
54 54
55 55
56 56
57 bool FlowGraphCompiler::SupportsSinCos() { 57 bool FlowGraphCompiler::SupportsSinCos() {
58 return true; 58 return true;
59 } 59 }
60 60
61 61
62 bool FlowGraphCompiler::SupportsHardwareDivision() {
63 return true;
64 }
65
66
62 void FlowGraphCompiler::EnterIntrinsicMode() { 67 void FlowGraphCompiler::EnterIntrinsicMode() {
63 ASSERT(!intrinsic_mode()); 68 ASSERT(!intrinsic_mode());
64 intrinsic_mode_ = true; 69 intrinsic_mode_ = true;
65 assembler()->set_allow_constant_pool(false); 70 assembler()->set_allow_constant_pool(false);
66 } 71 }
67 72
68 73
69 void FlowGraphCompiler::ExitIntrinsicMode() { 74 void FlowGraphCompiler::ExitIntrinsicMode() {
70 ASSERT(intrinsic_mode()); 75 ASSERT(intrinsic_mode());
71 intrinsic_mode_ = false; 76 intrinsic_mode_ = false;
(...skipping 1702 matching lines...) Expand 10 before | Expand all | Expand 10 after
1774 __ movups(reg, Address(RSP, 0)); 1779 __ movups(reg, Address(RSP, 0));
1775 __ AddImmediate(RSP, Immediate(kFpuRegisterSize), PP); 1780 __ AddImmediate(RSP, Immediate(kFpuRegisterSize), PP);
1776 } 1781 }
1777 1782
1778 1783
1779 #undef __ 1784 #undef __
1780 1785
1781 } // namespace dart 1786 } // namespace dart
1782 1787
1783 #endif // defined TARGET_ARCH_X64 1788 #endif // defined TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_compiler_mips.cc ('k') | runtime/vm/flow_graph_optimizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698