[PATCH v2 1/6] [powerpc] fenv_private.h clean up
Paul E Murphy
murphyp@linux.ibm.com
Fri Sep 20 15:37:00 GMT 2019
On 9/19/19 1:46 PM, Paul A. Clarke wrote:
> From: "Paul A. Clarke" <pc@us.ibm.com>
> -static __always_inline void
> -libc_feholdexcept_ppc (fenv_t *envp)
> -{
> - __libc_feholdbits_ppc (envp, _FPU_MASK_NOT_RN_NI, 0LL);
> -}
> -
> -static __always_inline void
> -libc_feholdexcept_setround_ppc (fenv_t *envp, int r)
> -{
> - __libc_feholdbits_ppc (envp, _FPU_MASK_NOT_RN_NI & _FPU_MASK_RN, r);
> -}
> -
> -static __always_inline void
> -libc_fesetround_ppc (int r)
> -{
> - __fesetround_inline (r);
> -}
> -
> -static __always_inline int
> -libc_fetestexcept_ppc (int e)
> -{
> - fenv_union_t u;
> - u.fenv = fegetenv_register ();
> - return u.l & e;
> -}
> -
> -static __always_inline void
> -libc_feholdsetround_ppc (fenv_t *e, int r)
> -{
> - __libc_feholdbits_ppc (e, _FPU_MASK_TRAPS_RN, r);
> -}
Are these unused? I still see the macro redirections calling out to them
after applying this patch.
More information about the Libc-alpha
mailing list