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: [RS6000] Fix PR58330 powerpc64 atomic store split in two


On Mon, Sep 9, 2013 at 8:21 AM, Alan Modra <amodra@gmail.com> wrote:
> This patch prevents the powerpc backend from combining a 64-bit
> volatile load or store with a bswap insn when the resulting combined
> insn will be implemented as two lwbrx or stwbrx machine insns.
> Bootstrapped and regression tested powerpc64-linux.
>
>         PR target/58330
>         * config/rs6000/rs6000.md (bswapdi2_64bit): Disable for volatile mems.
> gcc/testsuite/
>         * gcc.target/powerpc/pr58330.c: New.

Heh, this is an interesting bug.

Okay.

Thanks, David


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