https://bugs.winehq.org/show_bug.cgi?id=38780
--- Comment #6 from André H. nerv@dawncrow.de --- Created attachment 51808 --> https://bugs.winehq.org/attachment.cgi?id=51808 gcc patch
Thanks for the guidance!
Something like that? Is R17 a good choice? Should that simply be upstreamed? Further links: https://gcc.gnu.org/ml/gcc/2015-06/msg00046.html
--snip-- I suspect that using one of the IP regs is not brilliant; there are some concerns around the use of trampolines and closures that could lead to problems if you do. Ideally, you just want a call-clobbered register that's not used for parameter passing (unfortunately on ARM the only such register is r12). In AArch64 there are plenty of registers in that category you can chose from. --snip--
Ok, so R17 is bad, what about something from R9-R15?