[llvm] [LLVM][NVPTX] Add support for div.full instruction (PR #116482)
Artem Belevich via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 18 11:41:14 PST 2024
================
@@ -1096,6 +1096,18 @@ def INT_NVVM_DIV_RM_D : F_MATH_2<"div.rm.f64 \t$dst, $src0, $src1;",
def INT_NVVM_DIV_RP_D : F_MATH_2<"div.rp.f64 \t$dst, $src0, $src1;",
Float64Regs, Float64Regs, Float64Regs, int_nvvm_div_rp_d>;
+def : Pat<(int_nvvm_div_full Float32Regs:$a, Float32Regs:$b),
----------------
Artem-B wrote:
Any particular reason not to use `F_MATH_2` as the other `nvvm_div_*` intrinsics do?
https://github.com/llvm/llvm-project/pull/116482
More information about the llvm-commits
mailing list