]> git.ipfire.org Git - thirdparty/systemd.git/commit
unaligned: let gcc generate optimal code 7675/head
authorShawn Landden <slandden@gmail.com>
Sun, 17 Dec 2017 05:44:56 +0000 (21:44 -0800)
committerShawn Landden <slandden@gmail.com>
Mon, 18 Dec 2017 21:03:11 +0000 (13:03 -0800)
commitb61e5f171c89836afff53f0b3f8dedac2f1aac66
treec7e1b964a164886c84fda0714f136f963bad1b7e
parentf11cba7479fe29a9dab9e3151bbca4302d173811
unaligned: let gcc generate optimal code

on some architectures such as MIPS there are special unaligned load/store
sequences, instead of having to do bitwise accesses

https://www.linux-mips.org/wiki/Alignment
src/basic/unaligned.h