https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36821

kargl at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kargl at gcc dot gnu.org

--- Comment #7 from kargl at gcc dot gnu.org ---
(In reply to CVS Commits from comment #6)
> The master branch has been updated by hongtao Liu <liuho...@gcc.gnu.org>:
> 
> https://gcc.gnu.org/g:e54375d85d4aa5889869c2672158083b2106b623
> 
> commit r13-4891-ge54375d85d4aa5889869c2672158083b2106b623
> Author: liuhongt <hongtao....@intel.com>
> Date:   Mon Dec 12 15:43:58 2022 +0800
> 
>     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.

Does -mdaz-ftz actually activate all of -ffast-math and/or
-funsafe-math-optimizations?

Reply via email to