Re: [AArch64 11/14] Optimize and(s) patterns for HI/QI operands.

2014-02-18 Thread Andrew Pinski
On Tue, Feb 18, 2014 at 1:09 PM, Philipp Tomsich wrote: > HImode and QImode operands can be handled in a more optimal way for > logical AND than for logical OR operations. An AND will never set > bits that are not already set in its operands, so the resulting > mode/precision depends on the least

[AArch64 11/14] Optimize and(s) patterns for HI/QI operands.

2014-02-18 Thread Philipp Tomsich
HImode and QImode operands can be handled in a more optimal way for logical AND than for logical OR operations. An AND will never set bits that are not already set in its operands, so the resulting mode/precision depends on the least precision of its operands with an implicit zero-extension to any