Am Mi., 19. Dez. 2018, 11:38 hat Martok <list...@martoks-place.de> geschrieben:
> > 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. > Maybe we could add your changes to trunk? Regards, Sven >
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal