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__
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