[PATCH] FP operation costs for x86
Richard Henderson
rth@redhat.com
Fri Oct 4 01:24:00 GMT 2002
On Thu, Oct 03, 2002 at 09:37:22PM -0600, Roger Sayle wrote:
> * config/i386/i386.h (processor_costs): Add new fields fadd,
> fmul, fdiv, fabs, fchs and fsqrt to costs structure.
> (RTX_COSTS): Use these fields to determine the RTX costs
> of floating point addition/subtraction, multiplication,
> division, fabs, negation and square root respectively.
> * config/i386/i386.c (size_cost): Provide instruction sizes
> for these new fields.
> (i386_cost, i486_cost, pentium_cost, pentiumpro_cost,
> k6_cost, athlon_cost, pentium4_cost): Provide typical cycle
> counts for these new fields for all x86 processor variants.
Ok.
r~
More information about the Gcc-patches
mailing list