[clang] [clang][Driver] Define soft float macros for PPC. (PR #106012)

Alex Rønne Petersen via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 26 18:26:45 PDT 2024


================
@@ -439,14 +443,12 @@ void PPCTargetInfo::getTargetDefines(const LangOptions &Opts,
   // FIXME: The following are not yet generated here by Clang, but are
   //        generated by GCC:
   //
-  //   _SOFT_FLOAT_
   //   __RECIP_PRECISION__
   //   __APPLE_ALTIVEC__
   //   __RECIP__
   //   __RECIPF__
   //   __RSQRTE__
   //   __RSQRTEF__
----------------
alexrp wrote:

Looks like `__RECIP__` and `__RECIPF__` too? Will do.

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


More information about the cfe-commits mailing list