https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97459
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> --- So, can we use this for anything but modulo 3, or 5, or 17, or 257 (all of those have 2^32 mod N == 2^64 mod N == 2^128 mod N == 1), probably also keyed on the target having corresponding uaddv4_optab handler, normal expansion not being able to handle it and emitting a libcall?