X18 on AArch64

2015-07-07 Thread André Hentschel
Hi all, Note: I'm new to that mailinglist... On AArch64 X18 is used as a platform register for some platforms, so to generate portable executables it should not be used by the compiler. The use case i have for this is Wine. Windows arm64 programs use X18 as TLS register, thus it shouldn't be cha

Re: X18 on AArch64

2015-07-08 Thread André Hentschel
Am 07.07.2015 um 23:01 schrieb pins...@gmail.com: > What does the elf abi say about x18, I thought it was just another temp. If > the target does not use it as a platform reg. Note there are many assembly > files which might use x18 also due to that. > > So this means you need wrapper function

Re: Help with implementing Wine optimization experiment

2016-08-15 Thread André Hentschel
Am 14.08.2016 um 08:23 schrieb Daniel Santos: > I'm experimenting with ways to optimize wine (x86 target only) and I believe > I can shrink wine's total text size by around 7% by outlining the lengthy > pro- and epilogues required for ms_abi functions making sysv_abi calls. > Theoretically, fewe