[Bug 38780] AArch64 platforms: register X18 must remain reserved for Wine to run 64-bit ARM Windows applications (Distro aarch64 toolchains need '-ffixed-x18' default, loader/libc/userland)

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Jul 6 15:28:11 CDT 2015


https://bugs.winehq.org/show_bug.cgi?id=38780

--- Comment #6 from André H. <nerv at 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?

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


More information about the wine-bugs mailing list