diff options
author | 2014-03-24 04:05:11 +0000 | |
---|---|---|
committer | 2014-03-24 04:05:11 +0000 | |
commit | 3480c703a2fd86ec5cd61efd81fed4e6aa3d135d (patch) | |
tree | 0aeaa16909280e93a041ab5f5134530995f99e09 /gnu/usr.bin/perl/cpan/Module-Build/lib/Module | |
parent | The kernel isn't involved in times(3); <sys/times.h> should never be (diff) | |
download | wireguard-openbsd-3480c703a2fd86ec5cd61efd81fed4e6aa3d135d.tar.xz wireguard-openbsd-3480c703a2fd86ec5cd61efd81fed4e6aa3d135d.zip |
mpi scatter gather lists are 24 bytes long and next to each other in
memory. that means you cant do 8 byte loads and stores on the sg_addr
member cos it wont be 8 byte aligned half the time which makes
strict alignment archs (ie, the fun ones ones) upset.
annotate the sge as being 4 byte aligned. replace the sg_addr member
with sg_addr_lo and sg_addr_hi.
replace htole64 assignment of the sg addr with a wrapper that does
the right thing with a couple of htolem32 calls.
generated code shrinks again.
Diffstat (limited to 'gnu/usr.bin/perl/cpan/Module-Build/lib/Module')
0 files changed, 0 insertions, 0 deletions