Re: [PATCH][AArch64][2/2] Add rtx cost function handling of clz, clrsb, rbit

2014-07-22 Thread Marcus Shawcroft
On 22 July 2014 12:23, Kyrill Tkachov wrote: > Hi all, > > Following up on patch "[1/2] Remove UNSPEC_CLS and use clrsb RTL code in > its' place" this patch adds rtx costs handling of the CLZ, CLRSB RTL codes > as well as the UNSPEC_RBIT unspec. > > The CLZ and CLRSB cases are handled identically

[PATCH][AArch64][2/2] Add rtx cost function handling of clz, clrsb, rbit

2014-07-22 Thread Kyrill Tkachov
Hi all, Following up on patch "[1/2] Remove UNSPEC_CLS and use clrsb RTL code in its' place" this patch adds rtx costs handling of the CLZ, CLRSB RTL codes as well as the UNSPEC_RBIT unspec. The CLZ and CLRSB cases are handled identically (they are implemented by the clz and cls instructions