> I think the point was that with 64-bit ints you might be able to use a > different algorithm, or perhaps require fewer iterations and converge > faster. I guess that part of the answer is that you would be hard-pressed to find code that preserves its 32-bit semantics when compiled as 64 bits, unless the programmer had only used data types with fixed sizes (i.e., no longs). If that is the case, and I understand you correctly, then the compiler will do the right thing for 64-bit integers on a 64-bit processor (e.g., use single 64 bit arithmetic operations rather than split values and use two 32 bit operations), regardless of whether -m64 was specified. Is this correct?
By the way, I did not mean my example to be taken literally. I believe that on the UltraSPARC T1, even with the v9-optimised code, the run time would still be dominated by load/store operations. Thanks, --Elad _______________________________________________ perf-discuss mailing list perf-discuss@opensolaris.org