Re: [PATCH 5/9] rs6000: Clean up bool3

2014-09-22 Thread Segher Boessenkool
On Mon, Sep 22, 2014 at 01:13:38PM -0700, Richard Henderson wrote: > On 09/20/2014 11:23 AM, Segher Boessenkool wrote: > > +(define_code_attr iorxor [(ior "ior") (xor "xor")]) > > +(define_code_attr IORXOR [(ior "IOR") (xor "XOR")]) > > You don't need these. They are and respectively. Ah nice,

Re: [PATCH 5/9] rs6000: Clean up bool3

2014-09-22 Thread Richard Henderson
On 09/20/2014 11:23 AM, Segher Boessenkool wrote: > +(define_code_attr iorxor [(ior "ior") (xor "xor")]) > +(define_code_attr IORXOR [(ior "IOR") (xor "XOR")]) You don't need these. They are and respectively. r~

Re: [PATCH 5/9] rs6000: Clean up bool3

2014-09-21 Thread David Edelsohn
On Sat, Sep 20, 2014 at 2:23 PM, Segher Boessenkool wrote: > Use a new code iterator to handle IOR, XOR. Also, we can now fold > the AND patterns together with the boolean_or_operator patterns. > > > 2014-09-20 Segher Boessenkool > > * config/rs6000/rs6000.md (iorxor): New code_iterato

[PATCH 5/9] rs6000: Clean up bool3

2014-09-20 Thread Segher Boessenkool
Use a new code iterator to handle IOR, XOR. Also, we can now fold the AND patterns together with the boolean_or_operator patterns. 2014-09-20 Segher Boessenkool * config/rs6000/rs6000.md (iorxor): New code_iterator. (iorxor): New code_attr. (IORXOR): New code_attr.