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
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