On 6/9/23 05:56, Richard Biener via Gcc-patches wrote:
On Fri, Jun 9, 2023 at 11:58 AM Lehua Ding <lehua.d...@rivai.ai> wrote:
It's odd that the checksum doesn't depend on the number of iterations done ...
This is because the difference between the calculated result (32063.902344) and
the expected result (32000.000000) is small. The current check is that the
result
is considered correct as long as the `value/expected` ratio is between 0.99f and
1.01f.
Oh, I see ...
I'm not sure if this check is enough, but I should also update the expected
result to 32063.902344 (the same without vectorized).
OK.
Best,
Lehua
gcc/testsuite/ChangeLog:
* gcc.dg/vect/tsvc/tsvc.h:
* gcc.dg/vect/tsvc/vect-tsvc-s176.c:
I stitched together appropriate ChangeLog entries and pushed this to the
trunk (I don't think Lehua has write access).
jeff