Re: amd64 missing addressing modes
anthony <[email protected]> Thu, 27 Aug 2020 16:49:38 +0100
| Newsgroups | gmane.comp.lang.forth.gforth |
|---|---|
| Message-ID | <[email protected]> |
Dear Berndt, thanks for this document. It is very useful and I was not aware of its existence. If all current linux distributions are following this document (2014) 9 registers are available for scratch i.e. AX CX DX SI DI R8 R9 R10 R11 where CX is used as return stack in gforth. whopping cheers from scotland, anthony ===================================== On 26/08/2020 22:29, Bernd Paysan wrote: > Am Mittwoch, 26. August 2020, 23:25:18 CEST schrieb anthony: >> Great, thanks! >> Will it be in the next git release? > Already checked in in git. > >> Is it known which registers can be used as scratch registers? >> I assume CX, DX, SI, DI, R8..R15? > https://uclibc.org/docs/psABI-x86_64.pdf > > Page 21. Callee-saved registers can not be used freely. >