codemzs added a comment. In D149573#4309378 <https://reviews.llvm.org/D149573#4309378>, @tschuett wrote:
> I don't believe that there is NativeBFloat16Type. AArch64 learned bf16 with > ARMv8.6-A, but very limited operations and only in SIMD. X86 supports bf16 > since Cooperlake, but very limited operations and only in SIMD. > > Maybe GPUs? In D149573#4309378 <https://reviews.llvm.org/D149573#4309378>, @tschuett wrote: > I don't believe that there is NativeBFloat16Type. AArch64 learned bf16 with > ARMv8.6-A, but very limited operations and only in SIMD. X86 supports bf16 > since Cooperlake, but very limited operations and only in SIMD. > > Maybe GPUs? Dear @tschuett, Thank you for your input. It seems that NativeBFloat16Type is indeed limited in availability. As you mentioned, AArch64 and X86 offer some bf16 support, but only in SIMD and with limited operations. This flag is intended to guard changes for targets with full bf16 support, as discussed in this RFC: https://discourse.llvm.org/t/rfc-c-23-p1467r9-extended-floating-point-types-and-standard-names/70033/12. While few public targets currently have native bf16 support, this still serves as a useful precaution. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D149573/new/ https://reviews.llvm.org/D149573 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits