[fpc-devel] 64 Bit / 32 Bit

Ales( Katona almindor at gmail.com
Tue Oct 2 10:40:26 CEST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


> Oops ?!?! I supposed that using the much greater count of registers
> in 64 bit mode could speed up any kind of software. I suppose that
> the experts _are _working on that, though.
Registers are only so useful. I have a very nice example program which
is roughly 2x slower on 64bit version (on same machine) than 32bit
version. It was a school project which did some tree search/generation
(AI stuff) and had to use quite a lot of memory. The explanation of
this slowdown given to me was simple.

In 64bits, the cache is same as in 32bits (same machine remember?),
but the amount of memory not (pointers, alignment I guess? etc.)

I don't know the internals to know which things cause bigger cache
hugging on 64bits, I'd guess at least pointers do, but perhaps
everything is "native padded" for speed?
>
> Thanks for your answers !
>
> -Michael

Ales
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHAgP6FoLZReEjiMgRAk3WAJwKa/nXvkxMfAxwf9Ujxs9hOaDQ0ACfT/H+
91QIdh4G5AM0e1HylKU9/cc=
=JZtp
-----END PGP SIGNATURE-----




More information about the fpc-devel mailing list