[PATCH] Speed up math/test-tgmath2.c
Joseph Myers
joseph@codesourcery.com
Fri Nov 4 21:27:00 GMT 2016
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.
--
Joseph S. Myers
joseph@codesourcery.com
More information about the Libc-alpha
mailing list