Has anybody done any performance benchmarks for using Integer vs NativeInt in 64-bit Delphi XE 2 applications?
I know Windows has adopted LP64 architecture, where Integer and Cardinal are both 32-bit. However, I suspect that it might be easier to optimize code when using native 64-bit integers, but it would probably increase the demand on memory bandwidth if the code does not fit in the registers, although there is still CPU cache that may help.
Are there any performance benchmarks for 64-bit code compiled in FreePascal?
The only article I could find so far is about FPU performance in Delphi XE 2. Check it out here.
I've done my own tests with FPU but on Beta/RTM build so I think I'm still under NDA. The only thing I can say is to confirm the results of the article, 64-bit FPU performance is vastly improved in Delphi XE 2.