Re: [PATCH] arm64: support __int128 on gcc 5+

2017-11-02 Thread Jason A. Donenfeld
Hi Will, Nice catch. I posted a v2 that addresses that. Thanks, Jason

Re: [PATCH] arm64: support __int128 on gcc 5+

2017-11-02 Thread Will Deacon
Hi Jason, On Tue, Oct 31, 2017 at 12:43:19PM +0100, Jason A. Donenfeld wrote: > Versions of gcc prior to gcc 5 emitted a __multi3 function call when > dealing with TI types, resulting in failures when trying to link to > libgcc, and more generally, horrible performance. However, since gcc 5, > the

Re: [PATCH] arm64: support __int128 on gcc 5+

2017-10-31 Thread Jason A. Donenfeld
On Tue, Oct 31, 2017 at 1:17 PM, Will Deacon wrote: > > Sure, I'll wait for your patch that matches the relevant compiler versions. That's the patch in this thread: http://lists.infradead.org/pipermail/linux-arm-kernel/2017-October/539943.html As mentioned in there, gcc does the right thing for

Re: [PATCH] arm64: support __int128 on gcc 5+

2017-10-31 Thread Will Deacon
Hi Jason, On Tue, Oct 31, 2017 at 12:57:29PM +0100, Jason A. Donenfeld wrote: > On Tue, Oct 31, 2017 at 12:51 PM, Will Deacon wrote: > > Which code in the kernel actually uses 128-bit types directly? I know we > > have some unfortunate occurences in our headers (including uapi) for the > > vector

Re: [PATCH] arm64: support __int128 on gcc 5+

2017-10-31 Thread Jason A. Donenfeld
Hi Will, On Tue, Oct 31, 2017 at 12:51 PM, Will Deacon wrote: > Which code in the kernel actually uses 128-bit types directly? I know we > have some unfortunate occurences in our headers (including uapi) for the > vector registers, but I thought we generally used asm or copy routines to > access

Re: [PATCH] arm64: support __int128 on gcc 5+

2017-10-31 Thread Will Deacon
On Tue, Oct 31, 2017 at 12:43:19PM +0100, Jason A. Donenfeld wrote: > Versions of gcc prior to gcc 5 emitted a __multi3 function call when > dealing with TI types, resulting in failures when trying to link to > libgcc, and more generally, horrible performance. However, since gcc 5, > the compiler s