https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90070
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization --- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> --- For -ffast-math doing this as a float FMA is probably fastest. I'm not sure whether doing temp1 * 5 as integer operation is any good given on archs like Zen you'll have a FP <-> INT domain crossing.