mirror of https://git.tukaani.org/xz.git
liblzma/rangecoder: Exclude x32 from the x86-64 optimisation.
The x32 port has a x86-64 ABI in term of all registers but uses only 32bit pointer like x86-32. The assembly optimisation fails to compile on x32. Given the state of x32 I suggest to exclude it from the optimisation rather than trying to fix it. Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
This commit is contained in:
parent
3d198fb13b
commit
e9053c9072
|
@ -37,7 +37,7 @@
|
|||
// The default can be overridden at build time by defining
|
||||
// LZMA_RANGE_DECODER_CONFIG to the desired mask.
|
||||
#ifndef LZMA_RANGE_DECODER_CONFIG
|
||||
# if defined(__x86_64__) && (defined(__GNUC__) || defined(__clang__))
|
||||
# if defined(__x86_64__) && !defined(__ILP32__) && (defined(__GNUC__) || defined(__clang__))
|
||||
# define LZMA_RANGE_DECODER_CONFIG 0x1F0
|
||||
# else
|
||||
# define LZMA_RANGE_DECODER_CONFIG 0x03
|
||||
|
|
Loading…
Reference in New Issue