Re: [patch, aarch64] additional bics patterns

2014-11-14 Thread Richard Earnshaw
On 13/11/14 22:44, Sandra Loosemore wrote: > On 11/13/2014 10:47 AM, Andrew Pinski wrote: >> On Thu, Nov 13, 2014 at 9:42 AM, Sandra Loosemore >> wrote: >>> On 11/13/2014 10:27 AM, Richard Earnshaw wrote: On 13/11/14 17:05, Ramana Radhakrishnan wrote: > > On Thu, Nov 13, 2014 at

Re: [patch, aarch64] additional bics patterns

2014-11-14 Thread Richard Earnshaw
On 13/11/14 17:42, Sandra Loosemore wrote: > On 11/13/2014 10:27 AM, Richard Earnshaw wrote: >> On 13/11/14 17:05, Ramana Radhakrishnan wrote: >>> On Thu, Nov 13, 2014 at 4:55 PM, Sandra Loosemore >>> wrote: This patch to the AArch64 back end adds a couple of additional bics patterns >>

Re: [patch, aarch64] additional bics patterns

2014-11-13 Thread Sandra Loosemore
On 11/13/2014 10:47 AM, Andrew Pinski wrote: On Thu, Nov 13, 2014 at 9:42 AM, Sandra Loosemore wrote: On 11/13/2014 10:27 AM, Richard Earnshaw wrote: On 13/11/14 17:05, Ramana Radhakrishnan wrote: On Thu, Nov 13, 2014 at 4:55 PM, Sandra Loosemore wrote: This patch to the AArch64 back end

Re: [patch, aarch64] additional bics patterns

2014-11-13 Thread Andrew Pinski
On Thu, Nov 13, 2014 at 9:42 AM, Sandra Loosemore wrote: > On 11/13/2014 10:27 AM, Richard Earnshaw wrote: >> >> On 13/11/14 17:05, Ramana Radhakrishnan wrote: >>> >>> On Thu, Nov 13, 2014 at 4:55 PM, Sandra Loosemore >>> wrote: This patch to the AArch64 back end adds a couple of additi

Re: [patch, aarch64] additional bics patterns

2014-11-13 Thread Sandra Loosemore
On 11/13/2014 10:27 AM, Richard Earnshaw wrote: On 13/11/14 17:05, Ramana Radhakrishnan wrote: On Thu, Nov 13, 2014 at 4:55 PM, Sandra Loosemore wrote: This patch to the AArch64 back end adds a couple of additional bics patterns to match code of the form if ((x & y) == x) ...; This is tes

Re: [patch, aarch64] additional bics patterns

2014-11-13 Thread Richard Earnshaw
On 13/11/14 17:05, Ramana Radhakrishnan wrote: > On Thu, Nov 13, 2014 at 4:55 PM, Sandra Loosemore > wrote: >> This patch to the AArch64 back end adds a couple of additional bics patterns >> to match code of the form >> >> if ((x & y) == x) ...; >> >> This is testing whether the bits set in x ar

Re: [patch, aarch64] additional bics patterns

2014-11-13 Thread Ramana Radhakrishnan
On Thu, Nov 13, 2014 at 4:55 PM, Sandra Loosemore wrote: > This patch to the AArch64 back end adds a couple of additional bics patterns > to match code of the form > > if ((x & y) == x) ...; > > This is testing whether the bits set in x are a subset of the bits set in y; > or, that no bits in x

[patch, aarch64] additional bics patterns

2014-11-13 Thread Sandra Loosemore
This patch to the AArch64 back end adds a couple of additional bics patterns to match code of the form if ((x & y) == x) ...; This is testing whether the bits set in x are a subset of the bits set in y; or, that no bits in x are set that are not set in y. So, it is equivalent to if ((x