https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66112
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 35524 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35524&action=edit gcc6-pr66112-2.patch And i386 mulvhi4 and umulvhi4 support. For umulvhi4, I haven't found corresponding i386.md instruction that would emit mul{w}, so just changed SWI48 to SWI248 iterator in that case.