Re: [PATCH][AArch64][1/2] Remove UNSPEC_CLS and use clrsb RTL code in its' place

2014-07-22 Thread Marcus Shawcroft
On 22 July 2014 12:23, Kyrill Tkachov wrote: > Hi all, > > I noticed that we use UNSPEC_CLS for the clrsb optab when we could be using > the RTL code for it. I don't see any reason not to use the RTL code and some > execution tests confirm that the cls instruction implements the expected > clrsb s

[PATCH][AArch64][1/2] Remove UNSPEC_CLS and use clrsb RTL code in its' place

2014-07-22 Thread Kyrill Tkachov
Hi all, I noticed that we use UNSPEC_CLS for the clrsb optab when we could be using the RTL code for it. I don't see any reason not to use the RTL code and some execution tests confirm that the cls instruction implements the expected clrsb semantics. This patch removes the UNSPEC_CLS definitio