|
From: | anthony |
Subject: | Re: amd64 missing addressing modes |
Date: | Thu, 27 Aug 2020 16:49:38 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 |
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.
[Prev in Thread] | Current Thread | [Next in Thread] |