mirror of
https://github.com/intel/isa-l.git
synced 2025-01-05 22:59:52 +01:00
doc: Update minimum nasm recommendation and details
Change-Id: Icb113242c0ab7f3c75af3e65a8d519511f4ed4c3 Signed-off-by: Greg Tucker <greg.b.tucker@intel.com>
This commit is contained in:
parent
393f69fcac
commit
0f7bf1c04d
@ -33,8 +33,8 @@ Building ISA-L
|
|||||||
* Optional: Building with autotools requires autoconf/automake packages.
|
* Optional: Building with autotools requires autoconf/automake packages.
|
||||||
|
|
||||||
x86_64:
|
x86_64:
|
||||||
* Assembler: nasm v2.11.01 or later (nasm v2.13 or better suggested for building in AVX512 support)
|
* Assembler: nasm. Version 2.15 or later suggested (other versions of nasm and
|
||||||
or yasm version 1.2.0 or later.
|
yasm may build but with limited function [support.](doc/build.md)
|
||||||
* Compiler: gcc, clang, icc or VC compiler.
|
* Compiler: gcc, clang, icc or VC compiler.
|
||||||
|
|
||||||
aarch64:
|
aarch64:
|
||||||
|
29
doc/build.md
29
doc/build.md
@ -1,9 +1,32 @@
|
|||||||
# ISA-L Build Details
|
# ISA-L Build Details
|
||||||
|
|
||||||
For x86-64 builds it is highly recommended to get an up-to-date version of
|
## Build tools
|
||||||
|
|
||||||
|
NASM: For x86-64 builds it is highly recommended to get an up-to-date version of
|
||||||
[nasm] that can understand the latest instruction sets. Building with an older
|
[nasm] that can understand the latest instruction sets. Building with an older
|
||||||
version is usually possible but the library may lack some function versions for
|
assembler version is often possible but the library may lack some function
|
||||||
the best performance.
|
versions for the best performance. For example, as a minimum, nasm v2.11.01 or
|
||||||
|
yasm 1.2.0 can be used to build a limited functionality library but it will not
|
||||||
|
include any function versions with AVX2, AVX512, or optimizations for many
|
||||||
|
processors before the assembler's build. The configure or make tools can run
|
||||||
|
tests to check the assembler's knowledge of new instructions and change build
|
||||||
|
defines. For autoconf builds, check the output of configure for full nasm
|
||||||
|
support as it includes the following lines.
|
||||||
|
|
||||||
|
checking for nasm... yes
|
||||||
|
checking for modern nasm... yes
|
||||||
|
checking for optional nasm AVX512 support... yes
|
||||||
|
checking for additional nasm AVX512 support... yes
|
||||||
|
|
||||||
|
If an appropriate nasm is not available from your distro, it is simple to build
|
||||||
|
from source or download an executable from [nasm].
|
||||||
|
|
||||||
|
git clone --depth=10 https://github.com/netwide-assembler/nasm
|
||||||
|
cd nasm
|
||||||
|
./autogen.sh
|
||||||
|
./configure
|
||||||
|
make
|
||||||
|
sudo make install
|
||||||
|
|
||||||
## Windows Build Environment Details
|
## Windows Build Environment Details
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user