https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106516
--- Comment #4 from Peter Bergner <bergner at gcc dot gnu.org> --- (In reply to Kewen Lin from comment #2) > Confirmed, this is a test issue, power10 and up specific. > > The difference comes from the function thud, it aims to test the pattern > works for vector type. Power10 starts to support the insn vmodsw for vector > integer mod. [snip] > We can adjust the test case to expect 6 times "%" on target power10_ok > specially, but I wonder if we also find this fail on some other targets > which supports vector mod, if so, one overall complete guard would be better. So it sounds like we want a generic target supports test that is true on targets (like power10) with a vector mod and key off that. Any ideas how we can do that?