[PATCH v2 2/2] x86/fpu: Cleanup code in svml_{s|d}_wrapper_impl.h.S
H.J. Lu
hjl.tools@gmail.com
Fri Nov 18 19:56:19 GMT 2022
On Fri, Nov 18, 2022 at 11:08 AM Noah Goldstein <goldstein.w.n@gmail.com> wrote:
>
> 1. Remove unnecessary spills.
> 2. Split the shared avx/avx512 wrappers to a new file.
> 3. Fix some small nit missed optimizations.
>
> All math and mathvec tests pass on x86.
> ---
> sysdeps/x86_64/fpu/svml_d_wrapper_impl.h | 253 ++--------------
> sysdeps/x86_64/fpu/svml_s_wrapper_impl.h | 309 ++++----------------
> sysdeps/x86_64/fpu/svml_sd_wrapper_impl.h.S | 190 ++++++++++++
> 3 files changed, 266 insertions(+), 486 deletions(-)
> create mode 100644 sysdeps/x86_64/fpu/svml_sd_wrapper_impl.h.S
Please use svml_sd_wrapper_impl.h to be consistent with other .h files.
Thanks.
--
H.J.
More information about the Libc-alpha
mailing list