[PATCH] D93377: [Clang] Add __ibm128 type to represent ppc_fp128

Qing Shan Zhang via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 16 01:08:17 PST 2020


steven.zhang added inline comments.


================
Comment at: clang/lib/AST/ItaniumMangle.cpp:2668
   //                 ::= g  # __float128
+  //                 ::= g  # __ibm128
   // UNSUPPORTED:    ::= Dd # IEEE 754r decimal floating point (64 bits)
----------------
This is a bit confusing as the 'g' is for both __float128 and __ibm128. I know that PowerPC will mangle the __float128 as "u9__ieee128", and "g" for __ibm128. But c++filt demangle the "g" as __float128 which seems not right. 


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D93377



More information about the cfe-commits mailing list