https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105521
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|middle-end |target Target| |x86_64-*-* --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- This requires having a, 64bit/32bit (and 128bit/64bit) pattern really. So this is both a middle-end issue and a target issue. Note there might be another bug asking for the same optimization. Also note x86_64 might be the only popular target which has this kind of div instruction so this might not get any attention as it is also a small peephole where most people don't use 128bit integers either (they are non-standard even).