[libc-commits] [PATCH] D152923: [libc] Add support for FMA in the GPU utilities

Matt Arsenault via Phabricator via libc-commits libc-commits at lists.llvm.org
Wed Jun 14 09:29:45 PDT 2023


arsenm added a comment.

In D152923#4421576 <https://reviews.llvm.org/D152923#4421576>, @jhuber6 wrote:

> May be misusing terminology here, they are definitely compliant with IEEE, but maybe not with `libc`'s desire for all math to be correct under every rounding mode. I don't have a complete understanding of the requirements or desires here from the `libc` team.

There's a parallel set of FP intrinsics for strictfp functions if you're using fenv access. If you're not using strictfp/experimental.constrained intrinsics, you don't get control over the rounding mode and everything assumes round even. Really we'd want to have a separate regular and fenv access build.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D152923/new/

https://reviews.llvm.org/D152923



More information about the libc-commits mailing list