From fd2807173a262a954b76e3fdca605c5c8d1788a2 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Mon, 5 May 2025 09:17:21 +0200 Subject: [PATCH] i386: Fix comment typo on truncsfbf2 pattern I've noticed a typo on the flag name, fixed thusly. 2025-05-05 Jakub Jelinek * config/i386/i386.md (truncsfbf2): Fix comment typo, unsafte -> unsafe. --- gcc/config/i386/i386.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md index 44ee94a3e41..bb02ab0d4e1 100644 --- a/gcc/config/i386/i386.md +++ b/gcc/config/i386/i386.md @@ -5704,7 +5704,7 @@ /* 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. */ -- 2.47.2