https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101882
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[12/13/14 Regression] |modulus with input and |modulus with input and |output set to a hard |output set to a hard |register |register | Target Milestone|12.5 |--- --- Comment #12 from Andrew Pinski <pinskia at gcc dot gnu.org> --- +/* Disable generation of scalar modulo instructions due to performance issues + with certain input values. This can be removed in the future when the + issues have been resolved. */ +#define RS6000_DISABLE_SCALAR_MODULO 1 So this looks like it was fixed by disabling the pattern all the time. This was done by r14-4150-g58ab38213b9798 . Backported to GCC 13 by r13-7930-g3ac5ed3719942b and GCC 12 by r12-9902-g65d89dd9ae151a . So removing all of the regression markers but keeping open because the underlying issue is still existing but it won't show up until RS6000_DISABLE_SCALAR_MODULO is removed.