This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Index expmed.c's shift_cost by machine mode
- From: Richard Henderson <rth at redhat dot com>
- To: Roger Sayle <roger at eyesopen dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Sat, 12 Jun 2004 18:32:41 -0700
- Subject: Re: [PATCH] Index expmed.c's shift_cost by machine mode
- References: <Pine.LNX.4.44.0406121133590.2418-100000@www.eyesopen.com>
On Sat, Jun 12, 2004 at 12:20:50PM -0600, Roger Sayle wrote:
> * expmed.c (shift_cost, shiftadd_cost, shiftsub_cost): Additionally
> index by machine mode.
> (init_expmed): Initialize shift_cost, shiftadd_cost and shiftsub_cost
> tables inside the loop over machine modes.
> (synth_mult, expand_mult_highpart_optab, expand_mult_highpart,
> expand_divmod): Index shift*_cost by the appropriate machine mode.
Ok.
r~