New sac2c generates very slow code on 64-bit bice
|
|
Bugzilla Link |
403 |
Created on |
Oct 18, 2007 18:35 |
Resolution |
FIXED |
Resolved on |
Oct 19, 2007 00:51 |
Version |
1.00beta |
OS |
Linux |
Architecture |
PC |
Extended Description
I compiled apex/unirand/unirand.sac [after fixing use/imports] with
sac2c rev 15555, to get 0.408sec user CPU time.
After updating to sac2c rev#15631, same code executes in
5.932sec.
After changing sac2c/sac2crc LDFLAGS="-static" and recompiling,
unirand executes in 5.456CPU seconds.
This happens on two 64-bit platforms: SuSE 10.1 AMD Opteron, two-holer,
and on an Ubuntu 7.04 Intel 2-holer laptop.