[PATCH] D25465: [test-suite] adding checkFP to polybench/symm

Sebastian Pop via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 11 04:01:30 PDT 2016


sebpop created this revision.
sebpop added a reviewer: hfinkel.
sebpop added a subscriber: llvm-commits.

This patch shows the changes to polybench/symm to add checkFP between a version compiled with default flags and another version compiled at optnone + fp-contract=off.

With clang top of tree, compiling this kernel with __attribute__((optnone)) and outputing the contents of the C_StrictFP array does not match the reference output.
Furthermore, when the test-suite is configured with CFLAGS = -Ofast this test only passes for FP_ABSTOLERANCE=10.


https://reviews.llvm.org/D25465

Files:
  SingleSource/Benchmarks/Polybench/linear-algebra/kernels/symm/symm.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D25465.74220.patch
Type: text/x-patch
Size: 3815 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161011/26a85c1f/attachment.bin>


More information about the llvm-commits mailing list