[PATCH] benchtests: Run _Float128 tests only on architectures that support it

Joseph Myers joseph@codesourcery.com
Thu Sep 17 20:48:14 GMT 2020


On Thu, 17 Sep 2020, Florian Weimer via Libc-alpha wrote:

> * Joseph Myers:
> 
> > On Thu, 17 Sep 2020, Florian Weimer via Libc-alpha wrote:
> >
> >> Please try adding the benchtests via a fragment in
> >> sysdeps/ieee754/float128/Makefile.  I think this won't need additional
> >> configure checks.
> >
> > If you want these benchmarks only if _Float128 has a different format from 
> > long double, you can use the existing makefile variable $(float128-fcts).  
> > If you want to run them also when _Float128 has the same format as long 
> > double, use $(float128-alias-fcts) as well.  See math/Makefile for example 
> > usage.
> 
> In this case, the ifeq Makefile conditional should be added to
> benchtests/Makefile, right?

ifeq, or any of the other mechanisms used such as $(var-$(float128-fcts)).

-- 
Joseph S. Myers
joseph@codesourcery.com


More information about the Libc-alpha mailing list