[fpc-devel] question about parameter loading code
Florian Klämpfl
florian at freepascal.org
Sun Jun 10 19:24:24 CEST 2012
Am 10.06.2012 19:18, schrieb Jonas Maebe:
>
> On 10 Jun 2012, at 18:50, Sergei Gorelkin wrote:
>
>> - after final frame size becomes known, fixup these instructions to
>> reference a real FP with adjusted offset. Or maybe not keep a
>> separate list of instructions, but instead just iterate the entire
>> procedure asmlist (because about every second instruction is
>> subject to fixup).
>
> The problem on MIPS (and other RISC architectures), is that you may
> need more than one instruction to access such a memory location if
> the final offset is larger than a certain limit.
This is why I'am working on being able to generate code more than once
for procedures if needed.
More information about the fpc-devel
mailing list