This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: [PATCH, MIPS] Calling convention differs depending on the presence of MSA


Hi Matthew,

Please find attached updated patch as per our offline discussion.

I have disabled return in registers for all vector float types, and updated the test case accordingly.

Ok for trunk?

- Thanks and regards,
  Sameera D.
________________________________________
From: Sameera Deshpande
Sent: 08 February 2017 14:10:52
To: Matthew Fortune
Cc: gcc-patches@gcc.gnu.org
Subject: [PATCH, MIPS] Calling convention differs depending on the presence of MSA

Hi Matthew,

Please find attached the patch to fix the calling convention issue,
where argument and result passing convention differed for MSA and
non-MSA variants.

The implementation of TARGET_RETURN_IN_MEMORY is altered to block V4SF to be returned in registers.

Ok for trunk?

- Thanks and regards,
  Sameera D.


Changelog:
gcc/
    * config/mips/mips.c (mips_return_in_memory) : Restrict V4SFmode to be returned in registers.

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

Attachment: fix_calling_convention.patch
Description: fix_calling_convention.patch


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]