]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/config/i386/i386.h
i386.h (processor_costs): Add new fields fadd, fmul, fdiv, fabs, fchs and fsqrt to...
authorRoger Sayle <roger@eyesopen.com>
Fri, 4 Oct 2002 16:08:18 +0000 (16:08 +0000)
committerRoger Sayle <sayle@gcc.gnu.org>
Fri, 4 Oct 2002 16:08:18 +0000 (16:08 +0000)
commit229b303adff3903e4e4f717389ca7603bf7b3591
tree6f8ecebd7115ed4b0f41a751c4373bc568b70118
parentf42ee52fc006fd8540e4a7a4356abc830a520a44
i386.h (processor_costs): Add new fields fadd, fmul, fdiv, fabs, fchs and fsqrt to costs structure.

* 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.

From-SVN: r57820
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/config/i386/i386.h