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: Fix legit address for powerpc-xilinx-eabi


> The attached patch makes rs6000_legitimate_address return
> true for DImode or DFmode only if double-precision FP regs
> are present.

Not completely.

       * config/rs6000/rs6000.c: rs6000_legitimate_address. Allow
       address for DImode/DFmode only if double-precision FP regs.

This patch is okay, but is it sufficient?  This covers one more case:
indexed addresses.
PRE_MODIFY was addressed before.  You now cover all of the cases where
TARGET_HARD_FLOAT and TARGET_FPRS were used.  That may be enough to suit
your needs.

David


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