On 06/25/2011 09:29 PM, Nick Clifton wrote:
> * mn10300.md (clzsi2): Use XOR after BSCH to convert bit position
> of highest bit set into a count of the high zero bits.
Ok.
r~
Hi Richard,
The clzsi2/bsch patterns in the MN10300 backend do not work. There
are two problems - firstly the starting bit-search position for the
BSCH instruction is not set.
Yes it is. What do you think that "unused" second operand does?
That actually works ? Gross!
Secondly
On 06/25/2011 01:18 AM, Nick Clifton wrote:
> Hi Alex, Hi Jeff, Hi Richard,
>
> The clzsi2/bsch patterns in the MN10300 backend do not work. There
> are two problems - firstly the starting bit-search position for the
> BSCH instruction is not set.
Yes it is. What do you think that "unuse
Hi Alex, Hi Jeff, Hi Richard,
The clzsi2/bsch patterns in the MN10300 backend do not work. There
are two problems - firstly the starting bit-search position for the
BSCH instruction is not set. Secondly the BSCH instruction returns
the bit position of the highest set bit, not the number