diff options
author | Melanie Blower <melanie.blower@intel.com> | 2021-07-20 16:01:51 -0400 |
---|---|---|
committer | Melanie Blower <melanie.blower@intel.com> | 2021-07-20 16:02:09 -0400 |
commit | ce8024e8ff76e7be8b9ffa1a39d1dc9310bf74c7 (patch) | |
tree | 2df5effec4c76736b2c1eb5b2ca9a2211bffed92 /llvm/lib/Object/IRSymtab.cpp | |
parent | 6bf0f6a4f7d976a54ff59de4ef1c543ad2df9ff0 (diff) | |
download | llvm-ce8024e8ff76e7be8b9ffa1a39d1dc9310bf74c7.zip llvm-ce8024e8ff76e7be8b9ffa1a39d1dc9310bf74c7.tar.gz llvm-ce8024e8ff76e7be8b9ffa1a39d1dc9310bf74c7.tar.bz2 |
[CLANG][PATCH][FPEnv] Add support for option -ffp-eval-method and extend #pragma float_control similarly
The Intel compiler ICC supports the option "-fp-model=(source|double|extended)"
which causes the compiler to use a wider type for intermediate floating point
calculations. Also supported is a way to embed this effect in the source
program with #pragma float_control(source|double|extended).
This patch extends pragma float_control syntax, and also adds support
for a new floating point option "-ffp-eval-method=(source|double|extended)".
source: intermediate results use source precision
double: intermediate results use double precision
extended: intermediate results use extended precision
Reviewed By: Aaron Ballman
Differential Revision: https://reviews.llvm.org/D93769
Diffstat (limited to 'llvm/lib/Object/IRSymtab.cpp')
0 files changed, 0 insertions, 0 deletions