This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Drop fenvinline.h - Was: [PATCH] powerpc: Fix feraiseexcept and feclearexcept macros


On Wed, 4 Mar 2020, Tulio Magno Quites Machado Filho wrote:

> The proposal here is to provide an inline expansion code in GCC for
> fegetround(), feraiseexcept() and feclearexcept().

Generically in GCC, providing such inlines can run into different OSes 
making different choices for the FE_* values.  But it appears from the 
existing TARGET_ATOMIC_ASSIGN_EXPAND_FENV implementation that this wasn't 
an issue on powerpc for the exception flags at least (it *was* an issue on 
SPARC, see SPARC_LOW_FE_EXCEPT_VALUES in GCC).

-- 
Joseph S. Myers
joseph@codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]