[all-commits] [llvm/llvm-project] 8b6551: [libclc] Use FMA for the pi reconstruction in acos...

Joseph Huber via All-commits all-commits at lists.llvm.org
Sun Jun 14 18:33:18 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8b6551e49395be0dc878e7acff1edd31f4204143
      https://github.com/llvm/llvm-project/commit/8b6551e49395be0dc878e7acff1edd31f4204143
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2026-06-14 (Sun, 14 Jun 2026)

  Changed paths:
    M libclc/clc/lib/generic/math/clc_acos.inc
    M libclc/clc/lib/generic/math/clc_atan.inc

  Log Message:
  -----------
  [libclc] Use FMA for the pi reconstruction in acos / atan (#203804)

Summary:
This should recombine the split constant for this case. The performance
should be negligible for such large math functions, we get an extra add,
but in exchange the results should improve 1 ULP.

This was primarily done to match what AMD's math libraries do, with this
change we are byte-for-byte identical in output.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list