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

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

Issue 18295007: Fixes bug in double to int conversion on arm. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 5 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 | « no previous file | runtime/vm/intermediate_language_arm.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 "lib/error.h" 10 #include "lib/error.h"
(...skipping 1606 matching lines...) Expand 10 before | Expand all | Expand 10 after
1617 assembler()->vcmpd(left, right); 1617 assembler()->vcmpd(left, right);
1618 assembler()->vmstat(); 1618 assembler()->vmstat();
1619 assembler()->LoadObject(result, Bool::False()); 1619 assembler()->LoadObject(result, Bool::False());
1620 Label done; 1620 Label done;
1621 assembler()->b(&done, VS); // NaN -> false. 1621 assembler()->b(&done, VS); // NaN -> false.
1622 assembler()->LoadObject(result, Bool::True(), true_condition); 1622 assembler()->LoadObject(result, Bool::True(), true_condition);
1623 assembler()->Bind(&done); 1623 assembler()->Bind(&done);
1624 } 1624 }
1625 1625
1626 1626
1627 // Do not impelement or use this function. 1627 // Do not implement or use this function.
1628 FieldAddress FlowGraphCompiler::ElementAddressForIntIndex(intptr_t cid, 1628 FieldAddress FlowGraphCompiler::ElementAddressForIntIndex(intptr_t cid,
1629 intptr_t index_scale, 1629 intptr_t index_scale,
1630 Register array, 1630 Register array,
1631 intptr_t index) { 1631 intptr_t index) {
1632 UNREACHABLE(); 1632 UNREACHABLE();
1633 return FieldAddress(array, index); 1633 return FieldAddress(array, index);
1634 } 1634 }
1635 1635
1636 1636
1637 // Do not implement or use this function. 1637 // Do not implement or use this function.
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
1844 void ParallelMoveResolver::RestoreFpuScratch(FpuRegister reg) { 1844 void ParallelMoveResolver::RestoreFpuScratch(FpuRegister reg) {
1845 __ vldrd(reg, Address(SP, kDoubleSize, Address::PostIndex)); 1845 __ vldrd(reg, Address(SP, kDoubleSize, Address::PostIndex));
1846 } 1846 }
1847 1847
1848 1848
1849 #undef __ 1849 #undef __
1850 1850
1851 } // namespace dart 1851 } // namespace dart
1852 1852
1853 #endif // defined TARGET_ARCH_ARM 1853 #endif // defined TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/intermediate_language_arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698