[PATCH][MIPS]MSA dotp.d, dpadd.d, dpsub.d insn RTL - fix MODE

2017-03-05 Thread Prachi Godbole
Hi, A bug was discovered in MSA dotp__d, dpadd__d and dpsub__d RTL patterns while CSE'ing the result: Wrong MODE for vec_select in the second mult operand. The patch below fixes the same. OK for trunk? Changelog: 2017-03-06 Prachi Godbole gcc/ * config/mips/mips-msa.md (msa_dotp__

RE: [PATCH][MIPS]MSA dotp.d, dpadd.d, dpsub.d insn RTL - fix MODE

2017-03-06 Thread Matthew Fortune
Prachi Godbole writes: > 2017-03-06 Prachi Godbole > > gcc/ > * config/mips/mips-msa.md (msa_dotp__d, msa_dpadd__d, > msa_dpsub__d): Fix MODE for vec_select. > > gcc/testsuite/ > * gcc.target/mips/msa-dotp.c: New tests. OK, thanks. Matthew