https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120846
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- I guess the testcase assumes that the qi->si case gets an intermediate qi->hi promotion and then dotprod_hisi being used. But it fails to check for the ability to do qi->hi promotion. Is that what your target is missing? OTOH I didn't check what the aarch64 codegen does but I understood Tamar that aarch64 only has hisi dotprod, not qisi.