Re: [PATCH, powerpc] PR 53199, fix usage of __builtin_bswap64 on power6

2012-05-03 Thread David Edelsohn
On Thu, May 3, 2012 at 1:56 PM, Michael Meissner wrote: > In trying to build machine specific versions of glibc with newer compilers, we > ran into a bug where the current glibc would not build on power6.  This was > due > to glibc using the __builtin_swap64 builtin.  Power6 sets the > -mavoid-in

[PATCH, powerpc] PR 53199, fix usage of __builtin_bswap64 on power6

2012-05-03 Thread Michael Meissner
In trying to build machine specific versions of glibc with newer compilers, we ran into a bug where the current glibc would not build on power6. This was due to glibc using the __builtin_swap64 builtin. Power6 sets the -mavoid-indexed-addresses option. The splitter that I wrote when I wrote the