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

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

Issue 539073002: Fixes for ARM/ARM64/MIPS parallel move resolver. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 3 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
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 1657 matching lines...) Expand 10 before | Expand all | Expand 10 after
1668 void ParallelMoveResolver::Exchange(Register reg, const Address& mem) { 1668 void ParallelMoveResolver::Exchange(Register reg, const Address& mem) {
1669 __ Exchange(reg, mem); 1669 __ Exchange(reg, mem);
1670 } 1670 }
1671 1671
1672 1672
1673 void ParallelMoveResolver::Exchange(const Address& mem1, const Address& mem2) { 1673 void ParallelMoveResolver::Exchange(const Address& mem1, const Address& mem2) {
1674 __ Exchange(mem1, mem2); 1674 __ Exchange(mem1, mem2);
1675 } 1675 }
1676 1676
1677 1677
1678 void ParallelMoveResolver::Exchange(Register reg, intptr_t stack_offset) { 1678 void ParallelMoveResolver::Exchange(Register reg,
1679 Register base_reg,
1680 intptr_t stack_offset) {
1679 UNREACHABLE(); 1681 UNREACHABLE();
1680 } 1682 }
1681 1683
1682 1684
1683 void ParallelMoveResolver::Exchange(intptr_t stack_offset1, 1685 void ParallelMoveResolver::Exchange(Register base_reg1,
1686 intptr_t stack_offset1,
1687 Register base_reg2,
1684 intptr_t stack_offset2) { 1688 intptr_t stack_offset2) {
1685 UNREACHABLE(); 1689 UNREACHABLE();
1686 } 1690 }
1687 1691
1688 1692
1689 void ParallelMoveResolver::SpillScratch(Register reg) { 1693 void ParallelMoveResolver::SpillScratch(Register reg) {
1690 __ pushq(reg); 1694 __ pushq(reg);
1691 } 1695 }
1692 1696
1693 1697
(...skipping 12 matching lines...) Expand all
1706 __ movups(reg, Address(RSP, 0)); 1710 __ movups(reg, Address(RSP, 0));
1707 __ AddImmediate(RSP, Immediate(kFpuRegisterSize), PP); 1711 __ AddImmediate(RSP, Immediate(kFpuRegisterSize), PP);
1708 } 1712 }
1709 1713
1710 1714
1711 #undef __ 1715 #undef __
1712 1716
1713 } // namespace dart 1717 } // namespace dart
1714 1718
1715 #endif // defined TARGET_ARCH_X64 1719 #endif // defined TARGET_ARCH_X64
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698