Hi!

I've noticed a typo on the flag name, fixed thusly.

Bootstrapped/regtested on x86_64-linux and i686-linux, committed
to trunk as obvious.

2025-05-05  Jakub Jelinek  <ja...@redhat.com>

        * config/i386/i386.md (truncsfbf2): Fix comment typo,
        unsafte -> unsafe.

--- gcc/config/i386/i386.md.jj  2025-05-01 08:25:44.483931937 +0200
+++ gcc/config/i386/i386.md     2025-05-03 23:54:58.789712653 +0200
@@ -5704,7 +5704,7 @@ (define_insn "*trunc<mode>hf2"
 
 /* vcvtneps2bf16 doesn't honor SNAN, and turn sNAN into qNAN quietly,
    and it always round to even.
-   flag_unsafte_math_optimization is needed for psrld.
+   flag_unsafe_math_optimization is needed for psrld.
    If we don't expect qNaNs nor sNaNs and can assume rounding
    to nearest, we can expand the conversion inline as
    (fromi + 0x7fff + ((fromi >> 16) & 1)) >> 16.  */

        Jakub

Reply via email to