[cfe-dev] [llvm-dev] a proposed script to help with test-suite programs that output _lots_ of FP numbers

Sebastian Pop via cfe-dev cfe-dev at lists.llvm.org
Thu Sep 29 15:38:56 PDT 2016


On Thu, Sep 29, 2016 at 5:04 PM, Renato Golin <renato.golin at linaro.org> wrote:
> On 29 September 2016 at 22:32, Hal Finkel <hfinkel at anl.gov> wrote:
>> We don't want to lose the more-stringent test coverage just because that no longer might be the default mode. We'll also want, where practical, some looser test mode that will work regardless of the FP contraction setting. Both are important.
>
> That's why Abe proposed running both modes. I think this is the only
> long term solution.

So we do agree that currently the testsuite runs only one of the
modes, that is fp-contract=off.
The test-suite does not run the other mode: fp-contract=on, that is a
new feature, i.e., more testing.

If we agree on these two points, then let's move forward, commit the
patch that Abe has just posted to add CFLAGS += -ffp-contract=off
and then in a second stage add an extra step for the new mode fp-contract=on.

Thanks,
Sebastian


More information about the cfe-dev mailing list