[clang] [llvm] [clang][NVPTX] Add support for mixed-precision FP arithmetic (PR #168359)
Alex MacLean via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 26 19:23:11 PST 2025
================
@@ -1694,6 +1702,22 @@ multiclass FMA_INST {
defm INT_NVVM_FMA : FMA_INST;
+foreach rnd = ["_rn", "_rz", "_rm", "_rp"] in {
+ foreach sat = ["", "_sat"] in {
+ foreach type = ["f16", "bf16"] in {
----------------
AlexMaclean wrote:
Can we make this a list of ValueType to avoid the need for the casts later on?
https://github.com/llvm/llvm-project/pull/168359
More information about the cfe-commits
mailing list