On Mon, Sep 9, 2013 at 8:21 AM, Alan Modra <amo...@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