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

2017-11-03 Thread Jason A. Donenfeld
On Fri, Nov 3, 2017 at 2:42 PM, Will Deacon wrote: > We used to link against libgcc way back when, but that dependency was > removed in commit d67703a8a69e ("arm64: kill off the libgcc dependency") > and I'm really not keen to add it back. I also think that there might > be

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

2017-11-03 Thread Jason A. Donenfeld
On Fri, Nov 3, 2017 at 2:42 PM, Will Deacon wrote: > We used to link against libgcc way back when, but that dependency was > removed in commit d67703a8a69e ("arm64: kill off the libgcc dependency") > and I'm really not keen to add it back. I also think that there might > be licensing concerns if

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

2017-11-03 Thread Ard Biesheuvel
> On 3 Nov 2017, at 13:42, Will Deacon wrote: > > Hi Jason, > > [+Ard] > >> On Thu, Nov 02, 2017 at 06:43:22PM +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

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

2017-11-03 Thread Ard Biesheuvel
> On 3 Nov 2017, at 13:42, Will Deacon wrote: > > Hi Jason, > > [+Ard] > >> On Thu, Nov 02, 2017 at 06:43:22PM +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 >>

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

2017-11-03 Thread Will Deacon
Hi Jason, [+Ard] On Thu, Nov 02, 2017 at 06:43:22PM +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, bad performance. However, since gcc 5, >

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

2017-11-03 Thread Will Deacon
Hi Jason, [+Ard] On Thu, Nov 02, 2017 at 06:43:22PM +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, bad performance. However, since gcc 5, >

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

2017-11-02 Thread Jason A. Donenfeld
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, bad performance. However, since gcc 5, the compiler supports actually emitting fast instructions, which means we can at long last

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

2017-11-02 Thread Jason A. Donenfeld
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, bad performance. However, since gcc 5, the compiler supports actually emitting fast instructions, which means we can at long last