[23.07.2013 20:37] [Carlos E. R.]:
El 2013-07-23 a las 11:09 -0700, John Andersen escribió:
With bigger registers you can move data twice as fast, because the load time for 32 bits is the same for 64 bits.
Huh, not quite.
If you have to add 2 and 3 it will take the same time on both archs. 64 bit is not faster, it is larger. Compare a road truck of 6 wheels to another of 12 wheels and double length.
If you define 64bit integer variables and you store the values 2 and 3 inside those, the 64bit math will be a faster, since it requires only one register operation (per variable). On 32bit architecture, it may take two - unless you have a compiler that is smart enough to check for zeroes before adding ;-) Just my guess, Werner -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org