Re: [Patch, microblaze]: Adjustments to pcmp instruction generation

2013-02-27 Thread Michael Eager
On 02/10/2013 10:40 PM, David Holsgrove wrote: Adjustments to pcmp instruction generation avoid pcmpe insns when not valuable For pure in and equality comparisions, xor is better, Xor is a one cycle insn as pcmp. Pattern insns will still be used when you need to conditionally set something to

[Patch, microblaze]: Adjustments to pcmp instruction generation

2013-02-10 Thread David Holsgrove
Adjustments to pcmp instruction generation avoid pcmpe insns when not valuable For pure in and equality comparisions, xor is better, Xor is a one cycle insn as pcmp. Pattern insns will still be used when you need to conditionally set something to one or zero, e.g if (a) return 1; else retur