Re: [PATCH 4/8] Remove old macros and make lookup_constraint explicit

2014-06-10 Thread Jeff Law
On 06/05/14 15:32, Richard Sandiford wrote: Now that all extra constraints are defined in .md files, there's no real need for the old REG_CLASS_FROM_CONSTRAINT-style macros. The macros also seem dangerous performance-wise, since each one contains an embedded call to lookup_constraint. This mean

[PATCH 4/8] Remove old macros and make lookup_constraint explicit

2014-06-05 Thread Richard Sandiford
Now that all extra constraints are defined in .md files, there's no real need for the old REG_CLASS_FROM_CONSTRAINT-style macros. The macros also seem dangerous performance-wise, since each one contains an embedded call to lookup_constraint. This means that code like: if (REG