INSTALL: Clarify that --disable-assembler affects only 32-bit x86.

This commit is contained in:
Lasse Collin 2024-02-21 17:41:32 +02:00
parent 11405be84e
commit 00440f52be
1 changed files with 8 additions and 8 deletions

16
INSTALL
View File

@ -353,15 +353,15 @@ XZ Utils Installation
with --docdir=DIR. with --docdir=DIR.
--disable-assembler --disable-assembler
liblzma includes some assembler optimizations. Currently This disables CRC32 and CRC64 assembly code on
there is only assembler code for CRC32 and CRC64 for 32-bit x86. This option currently does nothing
32-bit x86. on other architectures (not even on x86-64).
All the assembler code in liblzma is position-independent The 32-bit x86 assembly is position-independent code
code, which is suitable for use in shared libraries and which is suitable for use in shared libraries and
position-independent executables. So far only i386 position-independent executables. It uses only i386
instructions are used, but the code is optimized for i686 instructions but the code is optimized for i686 class
class CPUs. If you are compiling liblzma exclusively for CPUs. If you are compiling liblzma exclusively for
pre-i686 systems, you may want to disable the assembler pre-i686 systems, you may want to disable the assembler
code. code.