[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 08:51:33 PDT 2023
arsenm added a comment.
> These may not have strict compliance
I expect every FMA instruction in existence to be strictly compliant. There's not even errno to worry about. For AMDGPU FP exceptions should even work with strictfp
================
Comment at: libc/src/__support/FPUtil/gpu/FMA.h:13-15
+// For AMDGPU these will map to instructions with 0.5 ULP accuracy. The NVPTX
+// implementation performs this operation at infinite precision and then rounds
+// to the nearest even value.
----------------
The NVPTX description sounds like you're just describing what FMA is
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