[clang] [llvm] [APFloat] Add APFloat support for FP6 data types (PR #94735)

Durgadoss R via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 7 12:27:39 PDT 2024


================
@@ -139,6 +143,10 @@ static constexpr fltSemantics semFloat8E4M3FNUZ = {
 static constexpr fltSemantics semFloat8E4M3B11FNUZ = {
     4, -10, 4, 8, fltNonfiniteBehavior::NanOnly, fltNanEncoding::NegativeZero};
 static constexpr fltSemantics semFloatTF32 = {127, -126, 11, 19};
+static constexpr fltSemantics semFloat6E3M2FN = {
----------------
durga4github wrote:

Yes, I tried a few other suffixes like "FNOnly", "FNNoNaN" etc. They looked weird and lengthy. So, I stayed with the "FN" suffix.

https://github.com/llvm/llvm-project/pull/94735


More information about the cfe-commits mailing list