Re: [commit, spu] Support clrsb

2011-07-13 Thread Ulrich Weigand
Bernd Schmidt wrote: > On 07/13/11 21:22, Ulrich Weigand wrote: > > several builtin-bitops-1.c tests have been failing recently on SPU > > since the new clrsb builtin is not supported. > > That's odd, it should just have picked the libgcc function rather than > causing test failures. Why didn't th

Re: [commit, spu] Support clrsb

2011-07-13 Thread Bernd Schmidt
On 07/13/11 21:22, Ulrich Weigand wrote: > Hello, > > several builtin-bitops-1.c tests have been failing recently on SPU > since the new clrsb builtin is not supported. That's odd, it should just have picked the libgcc function rather than causing test failures. Why didn't that happen? Bernd

[commit, spu] Support clrsb

2011-07-13 Thread Ulrich Weigand
Hello, several builtin-bitops-1.c tests have been failing recently on SPU since the new clrsb builtin is not supported. This patch fixes this by: - installing the libgcc __clrsbdi2 routine into optabs (which doesn't happen automatically on SPU since word_mode is TImode) - providing an in-line