[libc-commits] [PATCH] D152923: [libc] Add support for FMA in the GPU utilities
Tue Ly via Phabricator via libc-commits
libc-commits at lists.llvm.org
Wed Jun 14 09:32:21 PDT 2023
lntue added a comment.
I would assume that the fma instructions on GPU will be more performant than normal multiply + add. Do you want to let generic math functions use fma's for GPUs?
https://github.com/llvm/llvm-project/blob/main/libc/src/__support/macros/properties/cpu_features.h#L39
https://github.com/llvm/llvm-project/blob/main/libc/src/__support/FPUtil/multiply_add.h#L30
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