On Wed, 25 Oct 2017, vladimir.mezent...@oracle.com wrote: > +# Disable FMA (floating-point multiply-add) instructions for complex > division. > +# These instructions can produce different result if two operations executed > separately. > +LIBGCC2_FFP_CONTRAST_CFLAGS = -ffp-contract=off > +LIB2_DIV3_FUNCS = _divdc3 _divhc3 _divsc3
Without regard to whether the change is appropriate in the first place, I'm doubtful of the logic for selecting floating-point modes. I'd expect something that applies to all floating-point modes. Even if nothing has fused XFmode operations, some architectures (e.g. s390, powerpc) have fused operations on TFmode / KFmode. -- Joseph S. Myers jos...@codesourcery.com