[PATCH] D149573: [Clang][C++23] Implement core language changes from P1467R9 extended floating-point types and standard names and introduce Bfloat16 arithmetic type.

M. Zeeshan Siddiqui via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue May 9 16:11:08 PDT 2023


codemzs added a comment.

Hi @rjmccall and @erichkeane,

I would like to inquire about the necessity of implementing excess precision support for `std::bfloat16_t` in this patch. In reference to the discussion on https://reviews.llvm.org/D136919, it was mentioned that introducing `std::bfloat16_t` in Clang requires proper mangling, semantics, and excess precision support.

However, this change includes a front-end flag that enables `bfloat16` arithmetic only when the target natively supports `bfloat16` operations. Given this restriction, is it still essential to provide excess precision support for `std::bfloat16_t` in this patch?

Thank you for your guidance.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D149573/new/

https://reviews.llvm.org/D149573



More information about the cfe-commits mailing list