[fpc-devel] Bitpacked Record Bug

Willibald Krenn Willibald.Krenn at gmx.at
Sun Oct 24 23:56:05 CEST 2010


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?

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?

Willi




More information about the fpc-devel mailing list