Re: [PATCH] Speedup lookup_constraint for 2-letter constraints

2013-02-19 Thread Jakub Jelinek
On Tue, Feb 19, 2013 at 04:07:49PM +0100, Richard Biener wrote: > > This speeds up lookup_constraint by allowing the generic folding > for n == 1 strncmp calls to trigger, handling two-letter constraints > by two char comparisons instead of one and a call to strncmp (which > ends up not being inli

[PATCH] Speedup lookup_constraint for 2-letter constraints

2013-02-19 Thread Richard Biener
This speeds up lookup_constraint by allowing the generic folding for n == 1 strncmp calls to trigger, handling two-letter constraints by two char comparisons instead of one and a call to strncmp (which ends up not being inlined because it's considered cold ...). Bootstrap & regtest pending on x86