Date: Thu, 16 Apr 2020 18:02:35 -0500 From: Segher Boessenkool <segher@...nel.crashing.org> To: Florian Weimer <fw@...eb.enyo.de> Cc: Rich Felker <dalias@...c.org>, musl@...ts.openwall.com, libc-alpha@...rceware.org, linuxppc-dev@...ts.ozlabs.org, Nicholas Piggin <npiggin@...il.com>, libc-dev@...ts.llvm.org Subject: Re: Powerpc Linux 'scv' system call ABI proposal take 2 On Thu, Apr 16, 2020 at 08:12:19PM +0200, Florian Weimer wrote: > > I think my choice would be just making the inline syscall be a single > > call insn to an asm source file that out-of-lines the loading of TOC > > pointer and call through it or branch based on hwcap so that it's not > > repeated all over the place. > > I don't know how problematic control flow out of an inline asm is on > POWER. But this is basically the -moutline-atomics approach. Control flow out of inline asm (other than with "asm goto") is not allowed at all, just like on any other target (and will not work in practice, either -- just like on any other target). But the suggestion was to use actual assembler code, not inline asm? Segher
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.