]> git.ipfire.org Git - thirdparty/glibc.git/commit
x86: Improve svml_s_atanhf4_core_sse4.S
authorNoah Goldstein <goldstein.w.n@gmail.com>
Thu, 9 Jun 2022 16:58:31 +0000 (09:58 -0700)
committerNoah Goldstein <goldstein.w.n@gmail.com>
Thu, 9 Jun 2022 19:51:09 +0000 (12:51 -0700)
commitfe1915d4f6dd5db92ce9d0be47c9d4e04f95946c
tree88dec435d86d3b16b62ab50ece5aa8733eae7476
parent65897e991685c87f4575694197d3ce24f7fc9c5a
x86: Improve svml_s_atanhf4_core_sse4.S

Improvements are:
    1. Reduce code size (-62 bytes).
    2. Remove redundant move instructions.
    3. Slightly improve instruction selection/scheduling where
       possible.
    4. Prefer registers which get short instruction encoding.
    5. Reduce rodata usage (-16 bytes).

The throughput improvement is not significant as the port 0 bottleneck
is unavoidable.

       Function, New Time, Old Time, New / Old
_ZGVbN4v_atanhf,    8.821,    8.903,     0.991
sysdeps/x86_64/fpu/multiarch/svml_s_atanhf4_core_sse4.S