News Focus
News Focus

DDB

Followers 1
Posts 475
Boards Moderated 0
Alias Born 08/16/2003

DDB

Re: aixman post# 12475

Monday, 09/01/2003 1:34:59 PM

Monday, September 01, 2003 1:34:59 PM

Post# of 98356
Nope. Recompiling the code in 64 bits should get you 0-15% slowdown. That is normal due to the larger variables. Extra registers on AMD64 give some of the lost performance back, sometimes more than what was lost when going to 64 bits. System libraries is the OS concern, and it seems like they can add a little to the slowdown. However, all this is well worth the extra address space!

It's no problem to use 32bit int everywhere. And if you define "int" variables then these should be 32bit. Recompiled apps will still use 32bit then. BTW using them doesn't require a REX prefix byte for the first 8 regs. Below I listed some URLs where you can verify the effect of 8 additional regs both for Int and FP code.

Most pointers and address immediate values are 64bit then - that has the disadvantages that it needs more bytes in the cache and it could push some code bytes out of a decoder window (resulting in less decoded instructions during that cycle).

I'd like to see what GCC and PGI will produce for 64bit mode when their produced code matches the performance of the Intel compilers on the same platform (32bit). And we don't have results for any .NET compilers.

Regards,
DDB

http://www.digit-life.com/articles2/insidespeccpu/insidespeccpu2000-opteron2.html
http://www.ixbt.com/cpu/cpu-spec2k/pc2/gcc_int.swf
http://www.ixbt.com/cpu/cpu-spec2k/pc2/gcc_fp.swf
http://www.ixbt.com/cpu/cpu-spec2k/pc2/pgi_int.swf
http://www.ixbt.com/cpu/cpu-spec2k/pc2/pgi_fp.swf

Volume:
Day Range:
Bid:
Ask:
Last Trade Time:
Total Trades:
  • 1D
  • 1M
  • 3M
  • 6M
  • 1Y
  • 5Y
Recent AMD News