GCC-generated code slower than Solaris-generated code ive vs ive1
|
|
Bugzilla Link |
288 |
Created on |
Aug 26, 2006 22:54 |
Resolution |
DUPLICATE |
Resolved on |
Oct 03, 2006 21:19 |
Version |
svn |
OS |
Linux |
Architecture |
PC |
Extended Description
I thought we had a bug report on this, but I don't see it, so here's another,
with some more info:
sac2c -O3 buildv.sac
runs about 15% slower under GCC than
sac2c -O3 -ive 1 buildv.sac
Under Solaris, they're about the same, or perhaps the ive1 code is a tad slower.
With histop.sac, where ive 1 is much slower than ive,
the relative speed of ive1/ive is about 4.2 on asterix running SUN C, \
and about 3.5 on my AMD Linux box w/gcc.
I don't think we can do much about this, but it's noteworthy.