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] PR target/41331 -- fix powerpc bswap64 with -m32 -mpowerpc64


On Thu, Sep 10, 2009 at 12:39 PM, Michael Meissner
<meissner@linux.vnet.ibm.com> wrote:
> This patch should fix the problems that I introduced with my changes on July
> 31st in __builtin_bswap64 if -m32 and -mpowerpc64 are used.

Why should rs6000_emit_add() use the MODE of OP0 instead of
TARGET_32BIT?  gen_rtx_PLUS uses Pmode, which is based on
TARGET_32BIT.  Using TARGET_32BIT seems like a self-test that one does
not pass an operand of the wrong MODE for an address.

Thanks, David


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