https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101390
--- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> --- Something like vect_recog_divmod_pattern is still the way to go - you can add a separate pattern function if that fits better. If you have vector integer division you can do modulo as suggested.