Re: [PATCH 1/8] Faster checks for constraint types

2014-06-10 Thread Jeff Law
On 06/05/14 15:26, Richard Sandiford wrote: genpreds.c defines routines insn_extra_memory_constraint and insn_extra_address_constraint for testing whether a particular constraint_num is a memory or address constraint. At the moment it uses an out-of-line switch-based function to do this, but if

[PATCH 1/8] Faster checks for constraint types

2014-06-05 Thread Richard Sandiford
genpreds.c defines routines insn_extra_memory_constraint and insn_extra_address_constraint for testing whether a particular constraint_num is a memory or address constraint. At the moment it uses an out-of-line switch-based function to do this, but if we organise the constraint_num enum differentl