[fpc-pascal] Candidate for crowd-funding
Martok
listbox at martoks-place.de
Wed Dec 19 11:37:57 CET 2018
> The main problem here is to model what registers an instruction uses and
> modifies so that the register allocator of the surrounding function can take
> that into account accordingly... Maybe as a first step we could allow in lining
> for funcrions that have a register clause with the touched registers...
> But yes, in the long term this would definitely be nice.
I actually did that a few months ago (when intrinsics came up on this list), and
it does work as you expect. The actual difficult problem is argument location
remapping. Other than that, inline-nostackframe-asm[registers] needs almost no
changes.
--
Regards,
Martok
More information about the fpc-pascal
mailing list