https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72867
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org, | |kyukhin at gcc dot gnu.org, | |uros at gcc dot gnu.org --- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> --- So shall we use the UNSPEC_IEEE_MIN/MAX patterns instead of the max/min RTL for the non-fast-math case? Either generate those unspecs in the expanders if honoring nans or signed zeros, or use different expanders for the intrinsics that do that? There is: ;; ??? For !flag_finite_math_only, the representation with SMIN/SMAX ;; isn't really correct, as those rtl operators aren't defined when ;; applied to NaNs. Hopefully the optimizers won't get too smart on us. comment, as the intrinsics are preserved as md builtin calls during GIMPLE and I don't think we have gimple folders for those, it means the RTL optimizers are finally smart enough...