Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.5: List 64-bit enabled GUI applications in 10.5' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.5: List 64-bit enabled GUI applications in 10.5
Authored by: LordSod on Mar 10, '08 02:35:27PM

"It has nothing directly to do the with speed of the program" -> I don't think so, 64 bit do something for the speed of the program, but only with the apps wich are specifically developed for 64 bit. In fact, if you are working directly with 64 bit variables (on a 64 bit CPU) it's faster than working with 32 bit variables, only because the CPU can work with bigger numbers and for example for a database app it's far better for managing and using indexes.



[ Reply to This | # ]
10.5: List 64-bit enabled GUI applications in 10.5
Authored by: mzs on Mar 11, '08 01:07:03PM

On ppc it is hard to tell what is faster. For example loading a 64-bit register may take up to 4 instructions. Small immediate values (up to 25-bit I believe) don't take anymore due to sign extension. Also if your data structures in memory are 64-bit now instead of 32-bit you pay a cache and memory bandwidth penalty.

On intel you actually often win with 64-bit. As long as you do not change the layout of your structures in memory to 64-bit then you do not pay the cache and memory bandwidth penalties, but you do get 16 GPRs (general purpose registers). In 32-bit code you have 8 GPRs (handwavingly since the 286 4 are very general purpose, the other 4 have some specialness to them). I actually saw up to 30% increase in performance recompiling some of my code as x86_64.



[ Reply to This | # ]