[libclc] [libclc] Bring back fma for clspv (PR #180693)
Romaric Jodin via cfe-commits
cfe-commits at lists.llvm.org
Wed Feb 11 01:58:46 PST 2026
================
@@ -0,0 +1,274 @@
+//===----------------------------------------------------------------------===//
----------------
rjodinchr wrote:
This is not a copy of what is in the tree.
The FMA implementation in r600 is almost the same as this one, but it is using ulong for the mantissa, which is correct.
This one is using a vector of 2 uint.
This is very important for clspv as we do not want to have a dependency on 64-bit integers, as it is not supported on some old platforms.
https://github.com/llvm/llvm-project/pull/180693
More information about the cfe-commits
mailing list