[llvm-dev] [test-suite] making polybench/symm succeed with "-Ofast" and "-ffp-contract=on"

Sebastian Pop via llvm-dev llvm-dev at lists.llvm.org
Thu Oct 20 08:15:52 PDT 2016


On Thu, Oct 20, 2016 at 11:12 AM, Renato Golin <renato.golin at linaro.org> wrote:
> On 20 October 2016 at 16:05, Sebastian Pop <sebpop.llvm at gmail.com> wrote:
>> Setting FP_ABSTOLERANCE=1e-5, the two tests are passing
>> when compiled with -Ofast for the following relative tolerance:
>>
>> polybench/linear-algebra/kernels/symm, FP_TOLERANCE=1e-10
>> polybench/linear-algebra/solvers/gramschmidt, FP_TOLERANCE=1e5
>
> I'm confused. Is this 1e-5 or 1e5?

The test passes for a relative tolerance of 100,000.


More information about the llvm-dev mailing list