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

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

Issue 2940883008: [arm, arm64] Implemented unaligned scalar float access. (Closed)
Patch Set: piecewise float64 Created 3 years, 6 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/assembler_arm64.h ('k') | runtime/vm/assembler_arm64_test.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) 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
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
OLDNEW
« no previous file with comments | « runtime/vm/assembler_arm64.h ('k') | runtime/vm/assembler_arm64_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698