Fix MIPS o32 calling convention for MSA and FP vector types
authorSameera Deshpande <sameera.deshpande@imgtec.com>
Wed, 22 Feb 2017 23:09:43 +0000 (23:09 +0000)
committerMatthew Fortune <mpf@gcc.gnu.org>
Wed, 22 Feb 2017 23:09:43 +0000 (23:09 +0000)
commit0a864a97e9ab9b1bb6dbf13d6b471460c451be88
treea2b20a0a58ac94b32ffcaeafa38127e1514f1146
parent349c635163ea53a276c755a7bbcb278e1eefef3e
Fix MIPS o32 calling convention for MSA and FP vector types

gcc/
* config/mips/mips.c (mips_return_in_memory): Force FP
vector types to be returned in memory for o32 ABI.

gcc/testsuite/

* gcc.target/mips/msa-fp-cc.c: New test.

From-SVN: r245666
gcc/ChangeLog
gcc/config/mips/mips.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/mips/msa-fp-cc.c [new file with mode: 0644]