| ae034d6f | 11-Mar-2024 |
Taiju Yamada <tyamada@bi.a.u-tokyo.ac.jp> |
Use _byteswap_ushort etc for WIN32
Signed-off-by: Taiju Yamada <tyamada@bi.a.u-tokyo.ac.jp> |
| 0231d314 | 03-May-2024 |
Greg Troxel <gdt@lexort.com> |
Extend FreeBSD conditional about byte ordering to NetBSD
NetBSD has the same byte-ordering idioms as FreeBSD.
Signed-off-by: Greg Troxel <gdt@lexort.com> |
| dbaf284e | 25-Apr-2024 |
Bernd Schubert <bschubert@ddn.com> |
aarch64_multibinary.h: Fix -Wasm-operand-widths
Compilation with clang gave warnings as per below. Arm64 is has a width of 64 bit and these warnings came up.
In file included from igzip/aarch64/igz
aarch64_multibinary.h: Fix -Wasm-operand-widths
Compilation with clang gave warnings as per below. Arm64 is has a width of 64 bit and these warnings came up.
In file included from igzip/aarch64/igzip_multibinary_aarch64_dispatcher.c:29: ./include/aarch64_multibinary.h:338:35: warning: value size does not match register size specified by the constraint and modifier [-Wasm-operand-widths] asm("mrs %0, MIDR_EL1 " : "=r" (id)); ^ ./include/aarch64_multibinary.h:338:12: note: use constraint modifier "w" asm("mrs %0, MIDR_EL1 " : "=r" (id)); ^~ %w0 1 warning generated. In file included from mem/aarch64/mem_aarch64_dispatcher.c:29: ./include/aarch64_multibinary.h:338:35: warning: value size does not match register size specified by the constraint and modifier [-Wasm-operand-widths] asm("mrs %0, MIDR_EL1 " : "=r" (id)); ^ ./include/aarch64_multibinary.h:338:12: note: use constraint modifier "w" asm("mrs %0, MIDR_EL1 " : "=r" (id)); ^~ %w0 1 warning generated.
Signed-off-by: Bernd Schubert <bschubert@ddn.com>
show more ...
|
| 0234d629 | 02-May-2024 |
Marcel Cornu <marcel.d.cornu@intel.com> |
clang-format: ignore aarch64_label.h
Signed-off-by: Marcel Cornu <marcel.d.cornu@intel.com> |
| fa5b8baf | 19-Apr-2024 |
Marcel Cornu <marcel.d.cornu@intel.com> |
include: reformat using new code style
Signed-off-by: Marcel Cornu <marcel.d.cornu@intel.com> |
| 1500db75 | 23-Jan-2024 |
Colin Ian King <colin.i.king@gmail.com> |
Fix a handful of spelling mistakes and typos
There are quite a few spelling mistakes and typos in comments and user facing message literal strings as found using codespell. Fix these.
Signed-off-by
Fix a handful of spelling mistakes and typos
There are quite a few spelling mistakes and typos in comments and user facing message literal strings as found using codespell. Fix these.
Signed-off-by: Colin Ian King <colin.i.king@gmail.com> Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
show more ...
|
| d4e1c21a | 20-Dec-2023 |
Pablo de Lara <pablo.de.lara.guarch@intel.com> |
lib: add missing structure documentation
Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com> |
| 29d99fce | 20-Dec-2023 |
Pablo de Lara <pablo.de.lara.guarch@intel.com> |
igzip: add zlib header init function
Add isal_zlib_hdr_init() function to initialize the isal_zlib_header structure to all 0.
Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com> |
| 637f5a63 | 29-Nov-2023 |
Marcel Cornu <marcel.d.cornu@intel.com> |
include: add memcpy asm module
Signed-off-by: Marcel Cornu <marcel.d.cornu@intel.com> |
| c8dd92f0 | 28-Nov-2023 |
Pablo de Lara <pablo.de.lara.guarch@intel.com> |
lib: add new interface supporting AVX2 with GFNI
Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com> |
| f971f023 | 14-Nov-2023 |
Pablo de Lara <pablo.de.lara.guarch@intel.com> |
erasure_code: expose base implementation of init_tables
Expose ec_init_tables_base(), which should be used with ec_encode_data_base() and ec_encode_data_update_base().
Signed-off-by: Pablo de Lara
erasure_code: expose base implementation of init_tables
Expose ec_init_tables_base(), which should be used with ec_encode_data_base() and ec_encode_data_update_base().
Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
show more ...
|
| 2bbce319 | 30-Mar-2023 |
Pablo de Lara <pablo.de.lara.guarch@intel.com> |
crc: add CRC64 rocksoft implementation
- Added reference implementation - Added base implementation - Added functional and performance tests
Change-Id: I60c5097bd5fb89ee7a50910e71d449d50d155d0a Sig
crc: add CRC64 rocksoft implementation
- Added reference implementation - Added base implementation - Added functional and performance tests
Change-Id: I60c5097bd5fb89ee7a50910e71d449d50d155d0a Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com> Signed-off-by: Greg Tucker <greg.b.tucker@intel.com>
show more ...
|
| ad39d7cc | 31-Oct-2022 |
Taiju Yamada <tyamada@bi.a.u-tokyo.ac.jp> |
Include hwcap.h only in C compilation
Change-Id: I08a75896ebd49634f31a80ed37acf2a1267fe156 Signed-off-by: Taiju Yamada <tyamada@bi.a.u-tokyo.ac.jp> |
| 1187583a | 21-Nov-2020 |
Taiju Yamada <tyamada@bi.a.u-tokyo.ac.jp> |
Fixes for aarch64 mac
- It should be fine to enable pmull always on Apple Silicon - macOS 12+ is required for PMULL instruction. - Changed the conditional macro to __APPLE__ - Rewritten dispatcher u
Fixes for aarch64 mac
- It should be fine to enable pmull always on Apple Silicon - macOS 12+ is required for PMULL instruction. - Changed the conditional macro to __APPLE__ - Rewritten dispatcher using sysctlbyname - Use __USER_LABEL_PREFIX__ - Use __TEXT,__const as readonly section - use ASM_DEF_RODATA macro - fix func decl
Change-Id: I800593f21085d8187b480c8bb3ab2bd70c4a6974 Signed-off-by: Taiju Yamada <tyamada@bi.a.u-tokyo.ac.jp>
show more ...
|
| 85716fe2 | 25-Oct-2022 |
Surendar Chandra <vsurench@amazon.com> |
Correct loop bounds check in aarch64 gf_vect_mul
Prior to this change, a missing loop bounds check in the aarch64 version of gf_vect_mul would cause the routine to return 1 (error) in the normal cas
Correct loop bounds check in aarch64 gf_vect_mul
Prior to this change, a missing loop bounds check in the aarch64 version of gf_vect_mul would cause the routine to return 1 (error) in the normal case.
This change introduces a check and branch to "return_pass" (success), and also adds checks of the return code of gf_vect_mul to the supplied unit test; it was previously ignored.
Change-Id: I9f7fe0014189b24f9600e0473ee02b5316c2da91 Signed-off-by: Surendar Chandra <vsurench@amazon.com>
show more ...
|
| 9f75defd | 14-Jul-2022 |
Greg Tucker <greg.b.tucker@intel.com> |
Remove all slver legacy segments
The relic slver is no longer used for individual versioning on functions and is confusing tools looking for data in text sections. This removes all instances instead
Remove all slver legacy segments
The relic slver is no longer used for individual versioning on functions and is confusing tools looking for data in text sections. This removes all instances instead of fixing since its usefulness is waining. Fixes #221
Change-Id: Ife0b9f105950a90337c58e8a41ac2cffc0f67d99 Signed-off-by: Greg Tucker <greg.b.tucker@intel.com>
show more ...
|
| 57846f41 | 20-Jan-2022 |
H.J. Lu <hjl.tools@gmail.com> |
Properly add .note.gnu.property section to assembly codes
1. Revert "x86: Generate .note.gnu.property section for ELF output"
This reverts commit 8074e3fe1b9398a9d3b717267790050fc5041594, which is
Properly add .note.gnu.property section to assembly codes
1. Revert "x86: Generate .note.gnu.property section for ELF output"
This reverts commit 8074e3fe1b9398a9d3b717267790050fc5041594, which is a hack to work around the old nasm which doesn't support
section .note.gnu.property note alloc noexec align=8
This hack doesn't work for downstream, like:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=2040091
2. If Intel CET is enabled, require nasm with note section support to add
section .note.gnu.property note alloc noexec align=N
to assembly codes.
Verified with
$ CC="gcc -Wl,-z,cet-report=error -fcf-protection" CXX="g++ -Wl,-z,cet-report=error -fcf-protection" .../configure x86_64-linux $ make -j8
on Tiger Lake.
Change-Id: I6d66fe6fd054420d7fde35b1508ca9f09defdeca Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
show more ...
|
| d3cfb2fb | 11-Nov-2021 |
Ilya Leoshkevich <iii@linux.ibm.com> |
Fix s390 build
The goal of this patch is to make isa-l testsuite pass on s390 with minimal changes to the library. The one and only reason isa-l does not work on s390 at the moment is that s390 is b
Fix s390 build
The goal of this patch is to make isa-l testsuite pass on s390 with minimal changes to the library. The one and only reason isa-l does not work on s390 at the moment is that s390 is big-endian, and isa-l assumes little-endian at a lot of places.
There are two flavors of this: loading/storing integers from/to memory, and overlapping structs. Loads/stores are already helpfully wrapped by unaligned.h header, so replace the functions there with endianness-aware variants. Solve struct member overlap by reversing their order on big-endian.
Also, fix a couple of usages of uninitialized memory in the testsuite (found with MemorySanitizer).
Fixes s390x part of #188.
Change-Id: Iaf14a113bd266900192cc8b44212f8a47a8c7753 Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
show more ...
|
| 112dd72c | 09-Jun-2021 |
Greg Tucker <greg.b.tucker@intel.com> |
build: Remove unneeded file types.h
The file types.h has long been misnamed and overlaps with functionality in the test helper routines.
Change-Id: I774047d3a0074198b67a6b4e909f1e2ce1938195 Signed-
build: Remove unneeded file types.h
The file types.h has long been misnamed and overlaps with functionality in the test helper routines.
Change-Id: I774047d3a0074198b67a6b4e909f1e2ce1938195 Signed-off-by: Greg Tucker <greg.b.tucker@intel.com>
show more ...
|
| 2c705a26 | 23-Apr-2021 |
Greg Tucker <greg.b.tucker@intel.com> |
raid: Fix doc and base functions for min sources
The raid functions xor_gen, pq_gen and check functions must have at least two sources. Fixes #175
Change-Id: I2e4509e037c2b1dc88f3f7449d80f4c763e1e1
raid: Fix doc and base functions for min sources
The raid functions xor_gen, pq_gen and check functions must have at least two sources. Fixes #175
Change-Id: I2e4509e037c2b1dc88f3f7449d80f4c763e1e124 Signed-off-by: Greg Tucker <greg.b.tucker@intel.com>
show more ...
|
| 19035917 | 20-Oct-2020 |
Greg Tucker <greg.b.tucker@intel.com> |
igzip: Add new functions for faster dictionary compression
Change-Id: Id55728fea286d144f8a11192ab02ccc8503d7b25 Signed-off-by: Greg Tucker <greg.b.tucker@intel.com> |
| cd888f01 | 22-May-2020 |
H.J. Lu <hjl.tools@gmail.com> |
x86: Add ENDBR32/ENDBR64 at function entries for Intel CET
To support Intel CET, all indirect branch targets must start with ENDBR32/ENDBR64. Here is a patch to define endbranch and add it to funct
x86: Add ENDBR32/ENDBR64 at function entries for Intel CET
To support Intel CET, all indirect branch targets must start with ENDBR32/ENDBR64. Here is a patch to define endbranch and add it to function entries in x86 assembly codes which are indirect branch targets as discovered by running testsuite on Intel CET machine and visual inspection.
Verified with
$ CC="gcc -Wl,-z,cet-report=error -fcf-protection" CXX="g++ -Wl,-z,cet-report=error -fcf-protection" .../configure x86_64-linux $ make -j8 $ make -j8 check
with both nasm and yasm on both CET and non-CET machines.
Change-Id: I9822578e7294fb5043a64ab7de5c41de81a7d337 Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
show more ...
|
| f2cf2609 | 02-Mar-2020 |
Jerry Yu <jerry.h.yu@arm.com> |
multi-binary:Add microarchitecture id reader
This patch provides microarchitecture information and make microarchitecture optimization possible. It will trap into kernel due to mrs instruction. So i
multi-binary:Add microarchitecture id reader
This patch provides microarchitecture information and make microarchitecture optimization possible. It will trap into kernel due to mrs instruction. So it should be called only in dispatcher, that will be called only once in program lifecycle. And HWCAP must be match,That will make sure there are no illegal instruction errors.
Change-Id: I393ec742010bf3f10ce335482c0350aa4202c788 Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
show more ...
|
| ede04f0a | 16-Mar-2020 |
Greg Tucker <greg.b.tucker@intel.com> |
build: Fix for windows to allow nasm use
Previously windows build could only use yasm because some procedural items such as proc_start were not supported by nasm. This adds a few macros and fixes s
build: Fix for windows to allow nasm use
Previously windows build could only use yasm because some procedural items such as proc_start were not supported by nasm. This adds a few macros and fixes so nasm can be used to build on windows.
Change-Id: Ia05dc3ff482f33b0f915bb1be3c7df5e4a753b3a Signed-off-by: Greg Tucker <greg.b.tucker@intel.com>
show more ...
|
| 25a673d7 | 29-Jan-2020 |
Greg Tucker <greg.b.tucker@intel.com> |
crc: Add new vclmul version of gzip_refl
Change-Id: I8050853dcd177f4fb506f32f5fa723f7a1d3cded Signed-off-by: Greg Tucker <greg.b.tucker@intel.com> |