OLD | NEW |
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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" // NOLINT | 5 #include "vm/globals.h" // NOLINT |
6 #if defined(TARGET_ARCH_ARM64) | 6 #if defined(TARGET_ARCH_ARM64) |
7 | 7 |
8 #include "vm/assembler.h" | 8 #include "vm/assembler.h" |
9 #include "vm/cpu.h" | 9 #include "vm/cpu.h" |
10 #include "vm/longjump.h" | 10 #include "vm/longjump.h" |
(...skipping 1543 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1554 if ((sz == kHalfword) || (sz == kUnsignedHalfword)) { | 1554 if ((sz == kHalfword) || (sz == kUnsignedHalfword)) { |
1555 return; | 1555 return; |
1556 } | 1556 } |
1557 LsrImmediate(tmp, src, 16); | 1557 LsrImmediate(tmp, src, 16); |
1558 str(tmp, Address(addr, 2), kUnsignedByte); | 1558 str(tmp, Address(addr, 2), kUnsignedByte); |
1559 LsrImmediate(tmp, src, 24); | 1559 LsrImmediate(tmp, src, 24); |
1560 str(tmp, Address(addr, 3), kUnsignedByte); | 1560 str(tmp, Address(addr, 3), kUnsignedByte); |
1561 if ((sz == kWord) || (sz == kUnsignedWord)) { | 1561 if ((sz == kWord) || (sz == kUnsignedWord)) { |
1562 return; | 1562 return; |
1563 } | 1563 } |
1564 LsrImmediate(tmp, src, 24); | 1564 LsrImmediate(tmp, src, 32); |
1565 str(tmp, Address(addr, 4), kUnsignedByte); | 1565 str(tmp, Address(addr, 4), kUnsignedByte); |
1566 LsrImmediate(tmp, src, 32); | 1566 LsrImmediate(tmp, src, 40); |
1567 str(tmp, Address(addr, 5), kUnsignedByte); | 1567 str(tmp, Address(addr, 5), kUnsignedByte); |
1568 LsrImmediate(tmp, src, 40); | 1568 LsrImmediate(tmp, src, 48); |
1569 str(tmp, Address(addr, 6), kUnsignedByte); | 1569 str(tmp, Address(addr, 6), kUnsignedByte); |
1570 LsrImmediate(tmp, src, 48); | 1570 LsrImmediate(tmp, src, 56); |
1571 str(tmp, Address(addr, 7), kUnsignedByte); | 1571 str(tmp, Address(addr, 7), kUnsignedByte); |
1572 if (sz == kDoubleWord) { | 1572 if (sz == kDoubleWord) { |
1573 return; | 1573 return; |
1574 } | 1574 } |
1575 UNIMPLEMENTED(); | 1575 UNIMPLEMENTED(); |
1576 } | 1576 } |
1577 | 1577 |
1578 } // namespace dart | 1578 } // namespace dart |
1579 | 1579 |
1580 #endif // defined TARGET_ARCH_ARM64 | 1580 #endif // defined TARGET_ARCH_ARM64 |
OLD | NEW |