[PATCH] D74436: Change clang option -ffp-model=precise to select ffp-contract=on

Melanie Blower via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri May 14 12:17:23 PDT 2021


mibintc updated this revision to Diff 345526.
mibintc added a comment.

I rebased and enhanced the test case  clang/test/CodeGen/ffp-contract-option.c to show the effect of various ffp-contract={on,fast,off} * ffast-math=on,off in response to the request from @lebedev.ri  ; sorry for leaving this hanging for so long, I wasn't sure what to do about the optimization discrepancies but I have a plan now. We think it could be caused by a particular nuance on Broadwell.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D74436/new/

https://reviews.llvm.org/D74436

Files:
  clang/docs/UsersManual.rst
  clang/lib/Driver/ToolChains/Clang.cpp
  clang/test/CodeGen/ffp-contract-option.c
  clang/test/CodeGen/ppc-emmintrin.c
  clang/test/CodeGen/ppc-xmmintrin.c
  clang/test/Driver/fp-model.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D74436.345526.patch
Type: text/x-patch
Size: 20272 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210514/282e3790/attachment-0001.bin>


More information about the cfe-commits mailing list