[llvm] [NVPTX] Add float to tf32 conversion intrinsics (PR #121507)
Durgadoss R via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 10 04:03:31 PST 2025
================
@@ -725,6 +728,12 @@ let hasSideEffects = false in {
def CVT_f16x2_e4m3x2 : CVT_f16x2_fp8<"e4m3">;
def CVT_f16x2_e5m2x2 : CVT_f16x2_fp8<"e5m2">;
+
+ // Float to TF32 conversions.
+ def CVT_tf32_f32 : NVPTXInst<(outs Int32Regs:$dst),
+ (ins Float32Regs:$src, CvtMode:$mode),
+ !strconcat("cvt${mode:base}${mode:relu}${mode:satfinite}.",
----------------
durga4github wrote:
I have updated to use separate records in the latest revision.
Kindly review it and let me know if it aligns with your suggestion.
https://github.com/llvm/llvm-project/pull/121507
More information about the llvm-commits
mailing list