[m68k] Adjust costs for mul/div instructions on ColdFire cores
Richard Henderson
rth@redhat.com
Thu Aug 21 05:18:00 GMT 2003
On Thu, Aug 21, 2003 at 05:57:26AM +0200, Bernardo Innocenti wrote:
> +#define MULW_COST (TARGET_68060 ? 2 : TARGET_68040 ? 3 : TARGET_68020 ? 8 : \
> + TARGET_CFV3 ? 2 : 5)
You might consider moving to a table based system...
> + *total = COSTS_N_INSNS(18);
^^^
Careful with whitespace.
I'm not going to track down to verify the actual numbers, but
assuming those are all correct, the patch looks ok.
r~
More information about the Gcc-patches
mailing list