diff options
author | liuhongt <hongtao.liu@intel.com> | 2022-12-12 15:43:58 +0800 |
---|---|---|
committer | liuhongt <hongtao.liu@intel.com> | 2022-12-26 09:11:44 +0800 |
commit | e54375d85d4aa5889869c2672158083b2106b623 (patch) | |
tree | 5570081bb54818c753f2f39d2fd1c5ebc230c8be /zlib | |
parent | bc38aee755ddd50496f9a1d517a9cdd86301967d (diff) | |
download | gcc-e54375d85d4aa5889869c2672158083b2106b623.zip gcc-e54375d85d4aa5889869c2672158083b2106b623.tar.gz gcc-e54375d85d4aa5889869c2672158083b2106b623.tar.bz2 |
x86: Add a new option -mdaz-ftz to enable FTZ and DAZ flags in MXCSR.
if (mdaz-ftz)
link crtfastmath.o
else if ((Ofast || ffast-math || funsafe-math-optimizations)
&& !shared && !mno-daz-ftz)
link crtfastmath.o
else
Don't link crtfastmath.o
gcc/ChangeLog:
PR target/55522
PR target/36821
* config/i386/gnu-user-common.h (GNU_USER_TARGET_MATHFILE_SPEC):
Link crtfastmath.o whenever -mdaz-ftz is specified. Don't link
crtfastmath.o when -share or -mno-daz-ftz is specified.
* config/i386/i386.opt (mdaz-ftz): New option.
* doc/invoke.texi (x86 options): Document mftz-daz.
Diffstat (limited to 'zlib')
0 files changed, 0 insertions, 0 deletions