On 5/23/06, Cory Nelson <[EMAIL PROTECTED]> wrote:
> I'm not fully sure about this as I never had to do any programming for
> 64 bits, yet, so correct me if I'm wrong.
GCC's int is also 32bit on x64 (likely because x64 supports 32bit
arithmetic in 64bit apps without penalty, while 64bit operations
require a REX prefix which increases code size and can hurt cache).
The type that differs between the compilers is long, which is 32bit in
vc++ and 64bit in gcc.
Thanks for the correction. I had probably read something about some
other 64 bits platform (maybe IA-64, as I think I recall something
about it being slower in 32 bits mode).
Best regards,
~Nuno Lucas