Note that this compares SPARCv8 code generated by GCC for `long long' operations to SPARCv9 code generated by Sun's cc. I would be surprised if GCC doesn't generate the optimal code if configured for v9. Torbjorn