https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112935 --- Comment #6 from Xi Ruoyao <xry111 at gcc dot gnu.org> --- On a LA664 it seems a mul.w instruction costs 4 times a "simple" instruction like add.w/sub.w/and, and div.w costs 5 times.