mirror of
https://git.tukaani.org/xz.git
synced 2026-02-05 19:38:04 +00:00
liblzma: Don't try to use x86-64 inline asm on ARM64EC
Reported-by: Chase Knowlden Fixes: https://github.com/tukaani-project/xz/issues/206
This commit is contained in:
parent
47fb9d84c0
commit
b80b6343a4
@ -45,6 +45,7 @@
|
|||||||
// and different processors. Overall 0x1F0 seems to be the best choice.
|
// and different processors. Overall 0x1F0 seems to be the best choice.
|
||||||
#ifndef LZMA_RANGE_DECODER_CONFIG
|
#ifndef LZMA_RANGE_DECODER_CONFIG
|
||||||
# if defined(__x86_64__) && !defined(__ILP32__) \
|
# if defined(__x86_64__) && !defined(__ILP32__) \
|
||||||
|
&& !defined(__arm64ec__) && !defined(_M_ARM64EC) \
|
||||||
&& !defined(__NVCOMPILER) \
|
&& !defined(__NVCOMPILER) \
|
||||||
&& (defined(__GNUC__) || defined(__clang__))
|
&& (defined(__GNUC__) || defined(__clang__))
|
||||||
# define LZMA_RANGE_DECODER_CONFIG 0x1F0
|
# define LZMA_RANGE_DECODER_CONFIG 0x1F0
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user