Re: [patch] follow up on the aarch64 r18 story

2019-11-29 Thread Olivier Hainque
Hi Richard, > On 21 Nov 2019, at 23:44, Olivier Hainque wrote: >> +/* The pair of scratch registers used for stack probing during prologue. */ >> +#define PROBE_STACK_FIRST_REG R10_REGNUM >> +#define PROBE_STACK_SECOND_REG R11_REGNUM >> + >> >> These should be moved

Re: [patch] follow up on the aarch64 r18 story

2019-11-21 Thread Olivier Hainque
Thanks for your feedback on this Richard, Back on this after a few days away. > On 15 Nov 2019, at 16:37, Richard Earnshaw (lists) > wrote: > My first thought is that if we need a permanent reservation it would be > better to put this at the top of the list. r16 and r17 have defined ABI

Re: [patch] follow up on the aarch64 r18 story

2019-11-15 Thread Richard Earnshaw (lists)
On 07/11/2019 16:16, Olivier Hainque wrote: Hello, About a year ago we discussed various possibilities regarding an issue with the aarch64 selection of r18 as the static chain, problematic in environments where the OS uses r18 for "private" reasons. VxWorks uses this permission to use r18 as a

[patch] follow up on the aarch64 r18 story

2019-11-07 Thread Olivier Hainque
Hello, About a year ago we discussed various possibilities regarding an issue with the aarch64 selection of r18 as the static chain, problematic in environments where the OS uses r18 for "private" reasons. VxWorks uses this permission to use r18 as a pointer to the current TCB, and Windows does