[fpc-devel] Bitpacked Record Bug

Jonas Maebe jonas.maebe at elis.ugent.be
Mon Oct 25 00:04:59 CEST 2010


On 24 Oct 2010, at 23:56, Willibald Krenn wrote:

> Am 24.10.2010 20:49, schrieb Jonas Maebe:
>> It should probably check whether the packedbitsize is in [8, 16, 32,
>> 64]. The reason is that if you have a load from a byte-aligned
>> address using a size that is natively supported by the code
>> generator, you don't have to go through all the special-purpose code
>> for bitpacked accesses. 24 bits is however not a size that is
>> natively supported by the code generator, so it has to be treated as
>> a bitpacked access.
> 
> Thanks for confirming my thoughts. Shall I still file a bugreport for this?

Yes, please.

> Somewhat related, I tried to do the following in inline assembly:
> mov [rax+rcx*type integer], edx
> Unfortunately this does not work, although the explicit version
> (mov [rax+rcx*4], edx works) is ok. Should I file a bug about this too?

I guess so, if Delphi supports it.


Jonas



More information about the fpc-devel mailing list