[llvm-commits] [PATCH] Adding the TSVC loop benchmarks to the test suite
Tobias Grosser
tobias at grosser.es
Thu Sep 27 04:53:36 PDT 2012
On 09/27/2012 01:46 PM, Hal Finkel wrote:
>> Otherwise, I am not aware of any floating point special handling in
>> the test suite. I think for now, strict floating point semantics are
>> expected. (I am not a test suite expert)
>
> The problem with this is that:
> 1. gcc does not run with strict semantics by default on many platforms
> 2. We might not want to run with strict semantics either (for
> vectorizing reductions, for example).
>
> On the other hand, it might be easier just to adjust the precision with
> which the numbers are printed, than to try and fixup the comparison
> afterward.
I agree with your points. There may already be some solution built into
the test suite, which I am not aware of. I think it is good, if we
explicitly look to find a solution.
The problem with printing just limited precision is, that we can not
check if the compiler looses precision in 'strict' mode.
Cheers
Tobi
More information about the llvm-commits
mailing list