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

Joseph Myers joseph@codesourcery.com
Thu Mar 5 00:59:00 GMT 2020


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



More information about the Libc-alpha mailing list