summaryrefslogtreecommitdiffstats
path: root/LOCKS
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2005-06-02 05:34:08 +0000
committermarcel <marcel@FreeBSD.org>2005-06-02 05:34:08 +0000
commit97c723a3888a929368ae97542a3cdc41399a4e3f (patch)
tree41b43691c8e12ec4b07e58d30f244c2be4f25bcd /LOCKS
parentf881572c38f379b576078f99b85171fdcb3ef5f0 (diff)
downloadFreeBSD-src-97c723a3888a929368ae97542a3cdc41399a4e3f.zip
FreeBSD-src-97c723a3888a929368ae97542a3cdc41399a4e3f.tar.gz
Fix the load64 and store64 macros, created to handle 8-byte unaligned
loads and stores (resp.) The ldq_u and stq_u instruction mask off the lower 3 bits of the final address before loading from or storing to the address, so as to avoid unaligned loads and stores. They do not themselves allow loads from or stores to unaligned addresses. Replace the macro definitions by a packed struct dereference. Submitted by: Richard Henderson (rth at twiddle dot net)
Diffstat (limited to 'LOCKS')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud