Sujet : Re: Computer architects leaving Intel...
De : tkoenig (at) *nospam* netcologne.de (Thomas Koenig)
Groupes : comp.archDate : 14. Sep 2024, 20:26:13
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vc4o0l$1kuqf$1@dont-email.me>
References : 1 2 3 4 5 6 7
User-Agent : slrn/1.0.3 (Linux)
MitchAlsup1 <
mitchalsup@aol.com> schrieb:
In many cases int is slower now than long -- which violates the notion
of int from K&R days.
That's a designers's choice, I think. It is possible to add 32-bit
instructions which should be as fast (or possibly faster) than
64-bit instructions, as AMD64 and ARM have shown.
And having a smaller memory footprint is also beneficial, especially
for caches.
(Plus, there are FORTRAN's storage association rules, but these should
be less used by now. But for a 64-bit integer, they pretty much would
require a 64-bit REAL and a 128-bit DOUBLE PRECISION).