[clang] [llvm] [AMDGPU] Add intrinsics and builtins for v_cvt_scale_pk32_* instructions (PR #222617)
Mariusz Sikora via cfe-commits
cfe-commits at lists.llvm.org
Mon Sep 14 04:00:50 PDT 2026
================
@@ -877,6 +877,66 @@ integers.
}];
}
+def DocCvtScalePk32BF16BF6 : Documentation {
+ let Category = DocCatAMDGPUConversion;
+ let Content = [{
+Converts a packed 32-component BF6 input ``src`` to packed 32-component BF16
+values, then scales the results using the scale factor ``scale``. ``scale_sel``
+must be a compile-time constant in the range [0, 15]. Only available in
+wavefront size 32.
+}];
+}
+
+def DocCvtScalePk32BF16FP6 : Documentation {
+ let Category = DocCatAMDGPUConversion;
+ let Content = [{
+Converts a packed 32-component FP6 input ``src`` to packed 32-component BF16
+values, then scales the results using the scale factor ``scale``. ``scale_sel``
+must be a compile-time constant in the range [0, 15]. Only available in
+wavefront size 32.
+}];
+}
+
+def DocCvtScalePk32F16BF6 : Documentation {
+ let Category = DocCatAMDGPUConversion;
+ let Content = [{
+Converts a packed 32-component BF6 input ``src`` to packed 32-component
+half-precision floating-point values, then scales the results using the scale
+factor ``scale``. ``scale_sel`` must be a compile-time constant in the range
----------------
mariusz-sikora-at-amd wrote:
Updated
https://github.com/llvm/llvm-project/pull/222617
More information about the cfe-commits
mailing list