https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89378
--- Comment #2 from Paul Hua <paul.hua.gm at gmail dot com> --- (In reply to Richard Biener from comment #1) > MSA is new, so not sure if it is a regression. Please fill out > known-to-work. r267643 not iced, but fails to optimize the code. f1: .frame $sp,16,$31 # vars= 0, regs= 1/0, args= 0, gp= 0 .mask 0x10000000,-8 .fmask 0x00000000,0 daddiu $sp,$sp,-16 sd $28,8($sp) lui $28,%hi(%neg(%gp_rel(f1))) daddu $28,$28,$25 daddiu $28,$28,%lo(%neg(%gp_rel(f1))) dla $2,a ld.w $w0,0($2) dla $2,.LC0 ld.w $w1,0($2) fmul.w $w0,$w0,$w1 move.v $w2,$w0 sldi.b $w2,$w0[4] mov.s $f3,$f2 move.v $w1,$w0 move.v $w2,$w0 sldi.b $w2,$w0[8] add.s $f0,$f0,$f3 sldi.b $w1,$w1[12] add.s $f0,$f0,$f2 add.s $f0,$f0,$f1 ld $28,8($sp) .set noreorder .set nomacro j $31 daddiu $sp,$sp,16 .set macro .set reorder r267646 iced.