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

Unified 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 side-by-side diff with in-line comments
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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/assembler_arm64.cc
diff --git a/runtime/vm/assembler_arm64.cc b/runtime/vm/assembler_arm64.cc
index 52dc66b2e0398c469b0b67bf68d6df99216f89ea..efe2f1ca6afe96e9d5ded5cdad681692e26ec957 100644
--- a/runtime/vm/assembler_arm64.cc
+++ b/runtime/vm/assembler_arm64.cc
@@ -1561,13 +1561,13 @@ void Assembler::StoreUnaligned(Register src,
if ((sz == kWord) || (sz == kUnsignedWord)) {
return;
}
- LsrImmediate(tmp, src, 24);
- str(tmp, Address(addr, 4), kUnsignedByte);
LsrImmediate(tmp, src, 32);
- str(tmp, Address(addr, 5), kUnsignedByte);
+ str(tmp, Address(addr, 4), kUnsignedByte);
LsrImmediate(tmp, src, 40);
- str(tmp, Address(addr, 6), kUnsignedByte);
+ str(tmp, Address(addr, 5), kUnsignedByte);
LsrImmediate(tmp, src, 48);
+ str(tmp, Address(addr, 6), kUnsignedByte);
+ LsrImmediate(tmp, src, 56);
str(tmp, Address(addr, 7), kUnsignedByte);
if (sz == kDoubleWord) {
return;
« 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