[fpc-pascal] Binary code generated for Integer and PtrInt
Jonas Maebe
jonas.maebe at elis.ugent.be
Fri Jan 2 23:02:12 CET 2015
On 02/01/15 22:12, Florian Klämpfl wrote:
> Am 02.01.2015 um 21:34 schrieb Jonas Maebe:
>> > And except for AArch64, where 32 bit will, in principle, also be more
>> > efficient than 64 bit in all cases. It can even use the lower 8/16/32
>> > bit of a register as index in a memory references and sign/zero-extend +
>> > optionally multiply it with the access size.
> But integer operations are done always on 64 bit in FPC?
If you have
var
l: longint;
a: array of word;
begin
a[l]:= ...
end
then the index will still be a longint.
Jonas
More information about the fpc-pascal
mailing list