]> git.ipfire.org Git - thirdparty/xz.git/commit
Build: Enabled unaligned access by default on PowerPC64LE and some RISC-V.
authorLasse Collin <lasse.collin@tukaani.org>
Sat, 23 Sep 2023 20:28:48 +0000 (23:28 +0300)
committerLasse Collin <lasse.collin@tukaani.org>
Wed, 18 Oct 2023 16:02:45 +0000 (19:02 +0300)
commit2f81ac852bc5aafc91c8e2adc66b5114761703c4
tree66d661327a0f0ab993c120dd67c5eb70c6f24e3c
parentc8f715f1bca4c30db814fcf1fd2fe88b8992ede2
Build: Enabled unaligned access by default on PowerPC64LE and some RISC-V.

PowerPC64LE wasn't tested but it seems like a safe change.
POWER8 supports unaligned access in little endian mode. Testing
on godbolt.org shows that GCC uses unaligned access by default.

The RISC-V macro __riscv_misaligned_fast is very new and not
in any stable compiler release yet.

Documentation in INSTALL was updated to match.

Documentation about an autodetection bug when using ARM64 GCC
with -mstrict-align was added to INSTALL.

CMake files weren't updated yet.
INSTALL
m4/tuklib_integer.m4