Re: [PATCH] convert target_expmed macro accessors into inline functions

2012-07-27 Thread Richard Henderson
On 07/27/2012 04:41 AM, Nathan Froyd wrote: > Tested on x86_64-unknown-linux-gnu. OK to commit? > > -Nathan > > * expmed.h (alg_hash, alg_hash_used_p, sdiv_pow2_cheap, > smod_pow2_cheap, zero_cost, add_cost, neg_cost, shift_cost) > shiftadd_cost, shiftsub0_cost, shiftsub1_cost,

[PATCH] convert target_expmed macro accessors into inline functions

2012-07-27 Thread Nathan Froyd
As suggested by rth here: http://gcc.gnu.org/ml/gcc-patches/2012-07/msg01281.html this patch converts all the #define accessors in expmed.h to use inline functions instead. By itself, doing that conversion is not very exciting. Followup patches might: * Move setters into expmed.c; * Reduce spa