1
0
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:
Lasse Collin 2026-01-25 12:14:25 +02:00
parent 47fb9d84c0
commit b80b6343a4
No known key found for this signature in database
GPG Key ID: 38EE757D69184620

View File

@ -45,6 +45,7 @@
// and different processors. Overall 0x1F0 seems to be the best choice.
#ifndef LZMA_RANGE_DECODER_CONFIG
# if defined(__x86_64__) && !defined(__ILP32__) \
&& !defined(__arm64ec__) && !defined(_M_ARM64EC) \
&& !defined(__NVCOMPILER) \
&& (defined(__GNUC__) || defined(__clang__))
# define LZMA_RANGE_DECODER_CONFIG 0x1F0