mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-11-01 00:48:50 +00:00
18564756ab
Get rid of MACHINE_HAS_VX and replace it with cpu_has_vx() which is a short readable wrapper for "test_facility(129)". Facility bit 129 is set if the vector facility is present. test_facility() returns also true for all bits which are set in the architecture level set of the cpu that the kernel is compiled for. This means that test_facility(129) is a compile time constant which returns true for z13 and later, since the vector facility bit is part of the z13 kernel ALS. In result the compiled code will have less runtime checks, and less code. Reviewed-by: Hendrik Brueckner <brueckner@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com> Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com> |
||
---|---|---|
.. | ||
test | ||
.gitignore | ||
algos.c | ||
altivec.uc | ||
avx2.c | ||
avx512.c | ||
int.uc | ||
loongarch.h | ||
loongarch_simd.c | ||
Makefile | ||
mktables.c | ||
mmx.c | ||
neon.c | ||
neon.h | ||
neon.uc | ||
recov.c | ||
recov_avx2.c | ||
recov_avx512.c | ||
recov_loongarch_simd.c | ||
recov_neon.c | ||
recov_neon_inner.c | ||
recov_s390xc.c | ||
recov_ssse3.c | ||
s390vx.uc | ||
sse1.c | ||
sse2.c | ||
unroll.awk | ||
vpermxor.uc | ||
x86.h |