* Swapped lines in i386.c:k6_cost?
@ 2002-10-14 4:39 Zack Weinberg
0 siblings, 0 replies; only message in thread
From: Zack Weinberg @ 2002-10-14 4:39 UTC (permalink / raw)
To: gcc; +Cc: Jan Hubicka
The k6_cost structure initializer in i386.c on the mainline contains
this fragment:
2, /* cost of FDIV instruction. */
56, /* cost of FABS instruction. */
2, /* cost of FCHS instruction. */
56, /* cost of FSQRT instruction. */
I find it difficult to believe that the K6 only took two cycles to do
a floating-point divide, but absolute value operations took fifty-six.
Perhaps the costs for FDIV and FABS have been swapped?
zw
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-10-14 4:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-14 4:39 Swapped lines in i386.c:k6_cost? Zack Weinberg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).