https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89967
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ra Status|UNCONFIRMED |NEW Last reconfirmed| |2019-04-04 Ever confirmed|0 |1 --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- There are two seperate issues which is causing the inefficient code. One is the first set of mov should really be movi; I don't know why the constant formation was moved out of the loop. The second issue is the register allocation is not doing a good job for OImode, there are some clobber rtl there which might be getting in the way; I have not looked into or understand why the clobber rtl is needed.