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