x86_64: Replace AVX512F .byte sequences with instructions
commitb9eaca8fa0a9628a992e0f1478aaadde576804e1
authorH.J. Lu <hjl.tools@gmail.com>
Wed, 23 Aug 2017 13:16:12 +0000 (23 06:16 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 23 Aug 2017 13:26:44 +0000 (23 06:26 -0700)
tree10d8dcd9696ac057b485e94e7a003d3856de71dc
parent5a706f649de3952271930a8340db4ca8aa50f485
x86_64: Replace AVX512F .byte sequences with instructions

Since binutils 2.25 or later is required to build glibc, we can replace
AVX512F .byte sequences with AVX512F instructions.

Tested on x86-64 and x32.  There are no code differences in libmvec.so
and libmvec.a.

* sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
.byte sequences with AVX512F instructions.
* sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
* sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
* sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
* sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
Likewise.
* sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
Likewise.
ChangeLog
sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
sysdeps/x86_64/fpu/svml_d_sincos8_core.S
sysdeps/x86_64/fpu/svml_d_wrapper_impl.h
sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
sysdeps/x86_64/fpu/svml_s_wrapper_impl.h