On Mon, May 13, 2013 at 04:48:19PM +1000, Anton Blanchard wrote: > On Fri, 10 May 2013 22:18:27 +0100 > David Woodhouse <dw...@infradead.org> wrote: > > > From: David Woodhouse <david.woodho...@intel.com> > > > > Some versions of GCC apparently expect this to be provided by libgcc. > > Thanks Dave. We were discussing this with Alan Modra and he doesn't > think the 64bit target should ever emit a call to __bswapdi2. Did you > only see it on 32bit, or 64bit as well? > > Alan: I notice Dave is adding calls to __builtin_bswap, perhaps some > versions of the 64bit compiler did emit __bswapdi2 calls for that.
I did a little digging, and it looks like gcc-4.4 will emit __bswapdi2 calls. Support in rs6000.md appeared 2009-06-25. -- Alan Modra Australia Development Lab, IBM _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev