isa-l/raid
H.J. Lu cd888f01a4 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>
2020-05-26 09:16:49 -07:00
..
aarch64 multibinary: Add run-time cpu feature detect for aarch64 2019-08-26 17:58:42 +08:00
Makefile.am enable VSX SIMD in ISA-L for ppc64le 2020-02-20 09:40:43 -07:00
pq_check_sse_i32.asm x86: Add ENDBR32/ENDBR64 at function entries for Intel CET 2020-05-26 09:16:49 -07:00
pq_check_sse.asm x86: Add ENDBR32/ENDBR64 at function entries for Intel CET 2020-05-26 09:16:49 -07:00
pq_check_test.c Format only patch from iindent and remove_whitespace 2017-06-26 04:10:47 -04:00
pq_gen_avx2.asm x86: Add ENDBR32/ENDBR64 at function entries for Intel CET 2020-05-26 09:16:49 -07:00
pq_gen_avx512.asm x86: Add ENDBR32/ENDBR64 at function entries for Intel CET 2020-05-26 09:16:49 -07:00
pq_gen_avx.asm x86: Add ENDBR32/ENDBR64 at function entries for Intel CET 2020-05-26 09:16:49 -07:00
pq_gen_perf.c all: Revamp performance testing to be time based 2019-03-07 09:28:04 -07:00
pq_gen_sse_i32.asm x86: Add ENDBR32/ENDBR64 at function entries for Intel CET 2020-05-26 09:16:49 -07:00
pq_gen_sse.asm x86: Add ENDBR32/ENDBR64 at function entries for Intel CET 2020-05-26 09:16:49 -07:00
pq_gen_test.c Format only patch from iindent and remove_whitespace 2017-06-26 04:10:47 -04:00
raid_base_aliases.c raid: Add base function aliases and group src by arch 2017-03-30 18:09:32 -07:00
raid_base.c Format only patch from iindent and remove_whitespace 2017-06-26 04:10:47 -04:00
raid_multibinary_i32.asm multibinary: move WRT_OPT macro to common header 2017-08-18 14:24:57 -07:00
raid_multibinary.asm x86: Add ENDBR32/ENDBR64 at function entries for Intel CET 2020-05-26 09:16:49 -07:00
xor_check_sse.asm x86: Add ENDBR32/ENDBR64 at function entries for Intel CET 2020-05-26 09:16:49 -07:00
xor_check_test.c Format only patch from iindent and remove_whitespace 2017-06-26 04:10:47 -04:00
xor_example.c raid: Ensure example meets min align requirement 2018-03-06 13:39:32 -07:00
xor_gen_avx512.asm x86: Add ENDBR32/ENDBR64 at function entries for Intel CET 2020-05-26 09:16:49 -07:00
xor_gen_avx.asm x86: Add ENDBR32/ENDBR64 at function entries for Intel CET 2020-05-26 09:16:49 -07:00
xor_gen_perf.c all: Revamp performance testing to be time based 2019-03-07 09:28:04 -07:00
xor_gen_sse.asm x86: Add ENDBR32/ENDBR64 at function entries for Intel CET 2020-05-26 09:16:49 -07:00
xor_gen_test.c Format only patch from iindent and remove_whitespace 2017-06-26 04:10:47 -04:00