This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Performance of Integer Multiplication on PIII


> When running these same tests on on Mobile Pentium MMX (using -march=i586)
> Gcc code does out perform mine.  I do not have anything in between to run
> these tests on so I would appreciate it if someone with a Pentium Pro and
> PII (or is that the same thing as a Pentium Pro?) could run them and post
> the results.
> 
> So I guess the lesson here is that on PIII integer multiplication is fast
DId the timming in PIII of imul instruction changed?
Gcc believes its latency to be 4 cycles for PPro to PIII.  THe core is same,
but there may be small differences.  Is this the case?

Honza
> enough that doing special tricks to avoid integer multiplication will hurt
> performs in stead of helping it.
> 
> Is this a known issue?  And if so does anyone plan on addressing it.  I
> seams to me that the only fix would me to introduce more options for
> -march and -mcpu for the faster Pentiums.
> 
> Thanks in advance.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]