[clang] [clang][Driver] Define soft float macros for PPC. (PR #106012)
Chen Zheng via cfe-commits
cfe-commits at lists.llvm.org
Mon Aug 26 18:20:38 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__
----------------
chenzheng1030 wrote:
Would you please also handle `__RSQRTE__` and `__RSQRTEF__`? These two macros should also be impacted by soft-float. Thanks.
https://github.com/llvm/llvm-project/pull/106012
More information about the cfe-commits
mailing list