commit | 529d6b8112a06daca3bf4a89dec9fbad95efe46b | [log] [tgz] |
---|---|---|
author | Andy McFadden <fadden@android.com> | Thu Feb 10 15:32:16 2011 -0800 |
committer | Andy McFadden <fadden@android.com> | Thu Feb 10 15:32:16 2011 -0800 |
tree | cd876c874280a341ebe2b11679dfcb9eac4efd3f | |
parent | 8dcf274871fbce24f2891ddb05bdd8e5af2a53cd [diff] |
Tweak the 64-bit load/store code The old version would either move data through a union, call memcpy(), or just cast the pointer to a wider type and dereference it. The latter turns out to be an aliasing violation, and it recently started causing test failures on the "host" build. We now use memcpy() for x86 and unions for ARM. Bug 3431820 Change-Id: I302a7f49f7ae88ac96b8f7fef3d9260ac64d631b