[PATCH] Speed up math/test-tgmath2.c
Steve Ellcey
sellcey@caviumnetworks.com
Fri Nov 4 22:02:00 GMT 2016
On Fri, 2016-11-04 at 21:26 +0000, Joseph Myers wrote:
> On Fri, 4 Nov 2016, Steve Ellcey wrote:
>
> >
> > Here is a modified and retested patch.
> The expression ORing together lots of function call results hasÂ
> indeterminate order of evaluation.  While the test should work
> running theÂ
> test functions in any order, on the whole I think it would be better
> toÂ
> make the order determinate, by doing
>
> result = test_cos (vint1, vllong1);
> result |= test_fabs (vint1, vllong1);
>
> etc.
Having a determinate order of execution would make it easier when
analyzing a failure. Â Here is a new version.
Steve Ellcey
sellcey@caviumnetworks.com
2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
* math/test-tgmath2.c: Split up test function.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tgmath2.patch
Type: text/x-patch
Size: 5546 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20161104/d528cab2/attachment.bin>
More information about the Libc-alpha
mailing list