This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Fix legit address for powerpc-xilinx-eabi
- From: David Edelsohn <dje dot gcc at gmail dot com>
- To: Michael Eager <eager at eagercon dot com>
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 19 Feb 2009 09:12:40 -0500
- Subject: Re: Fix legit address for powerpc-xilinx-eabi
- References: <303e1d290902190610x50a95417s584194b58a61108@mail.gmail.com>
> 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