Re: [x86-64 psABI]: Extend x86-64 psABI to support AVX-512

2013-08-02 Thread Kirill Yukhin
On 30 Jul 17:55, Kirill Yukhin wrote: > On Wed, Jul 24, 2013 at 08:25:14AM -1000, Richard Henderson wrote: > > On 07/24/2013 05:23 AM, Richard Biener wrote: > > > "H.J. Lu" wrote: > > > > > >> Hi, > > >> > > >> Here is a patch to extend x86-64 psABI to support AVX-512: > > > > > > Afaik avx 512

Re: [x86-64 psABI]: Extend x86-64 psABI to support AVX-512

2013-07-30 Thread Kirill Yukhin
On Wed, Jul 24, 2013 at 08:25:14AM -1000, Richard Henderson wrote: > On 07/24/2013 05:23 AM, Richard Biener wrote: > > "H.J. Lu" wrote: > > > >> Hi, > >> > >> Here is a patch to extend x86-64 psABI to support AVX-512: > > > > Afaik avx 512 doubles the amount of xmm registers. Can we get them cal

Re: [x86-64 psABI]: Extend x86-64 psABI to support AVX-512

2013-07-27 Thread Rich Felker
On Sat, Jul 27, 2013 at 12:12:57PM -0400, Rich Felker wrote: > By the way, I do have another horrible idea for how you could do it. > glibc's jmp_buf is actually a sigjmp_buf and contains 120 wasted bytes > of sigset_t for nonexistant HURD signals. So you could store a few > registers after the act

Re: [x86-64 psABI]: Extend x86-64 psABI to support AVX-512

2013-07-27 Thread Rich Felker
On Sat, Jul 27, 2013 at 05:44:05PM +0200, Ondřej Bílka wrote: > On Thu, Jul 25, 2013 at 12:50:53PM -0400, Rich Felker wrote: > > On Thu, Jul 25, 2013 at 08:55:38AM +0200, Ondřej Bílka wrote: > > > On Thu, Jul 25, 2013 at 05:06:55AM +0200, Jakub Jelinek wrote: > > > > On Wed, Jul 24, 2013 at 07:36:3

Re: [x86-64 psABI]: Extend x86-64 psABI to support AVX-512

2013-07-27 Thread Ondřej Bílka
On Thu, Jul 25, 2013 at 12:50:53PM -0400, Rich Felker wrote: > On Thu, Jul 25, 2013 at 08:55:38AM +0200, Ondřej Bílka wrote: > > On Thu, Jul 25, 2013 at 05:06:55AM +0200, Jakub Jelinek wrote: > > > On Wed, Jul 24, 2013 at 07:36:31PM +0200, Richard Biener wrote: > > > > >Make them callee saved means

Re: [x86-64 psABI]: Extend x86-64 psABI to support AVX-512

2013-07-25 Thread Rich Felker
On Thu, Jul 25, 2013 at 08:55:38AM +0200, Ondřej Bílka wrote: > On Thu, Jul 25, 2013 at 05:06:55AM +0200, Jakub Jelinek wrote: > > On Wed, Jul 24, 2013 at 07:36:31PM +0200, Richard Biener wrote: > > > >Make them callee saved means we need to change ld.so to > > > >preserve them and we need to chang

RE: [x86-64 psABI]: Extend x86-64 psABI to support AVX-512

2013-07-25 Thread Gopalasubramanian, Ganesh
; GCC Development; Binutils; Girkar, Milind; Kreitzer, David L; Gopalasubramanian, Ganesh Subject: Re: [x86-64 psABI]: Extend x86-64 psABI to support AVX-512 On Tue, 23 Jul 2013, H.J. Lu wrote: > Here is a patch to extend x86-64 psABI to support AVX-512: I have no comments on this patch for

Re: [x86-64 psABI]: Extend x86-64 psABI to support AVX-512

2013-07-25 Thread Ondřej Bílka
On Thu, Jul 25, 2013 at 03:17:43PM +0300, Janne Blomqvist wrote: > On Wed, Jul 24, 2013 at 9:52 PM, Ondřej Bílka wrote: > > On Wed, Jul 24, 2013 at 08:25:14AM -1000, Richard Henderson wrote: > >> On 07/24/2013 05:23 AM, Richard Biener wrote: > >> > "H.J. Lu" wrote: > >> > > >> >> Hi, > >> >> > >>

Re: [x86-64 psABI]: Extend x86-64 psABI to support AVX-512

2013-07-25 Thread Janne Blomqvist
On Wed, Jul 24, 2013 at 9:52 PM, Ondřej Bílka wrote: > On Wed, Jul 24, 2013 at 08:25:14AM -1000, Richard Henderson wrote: >> On 07/24/2013 05:23 AM, Richard Biener wrote: >> > "H.J. Lu" wrote: >> > >> >> Hi, >> >> >> >> Here is a patch to extend x86-64 psABI to support AVX-512: >> > >> > Afaik av

Re: [x86-64 psABI]: Extend x86-64 psABI to support AVX-512

2013-07-25 Thread Ondřej Bílka
On Thu, Jul 25, 2013 at 05:06:55AM +0200, Jakub Jelinek wrote: > On Wed, Jul 24, 2013 at 07:36:31PM +0200, Richard Biener wrote: > > >Make them callee saved means we need to change ld.so to > > >preserve them and we need to change unwind library to > > >support them. It is certainly doable. > > >

Re: [x86-64 psABI]: Extend x86-64 psABI to support AVX-512

2013-07-24 Thread Jakub Jelinek
On Wed, Jul 24, 2013 at 07:36:31PM +0200, Richard Biener wrote: > >Make them callee saved means we need to change ld.so to > >preserve them and we need to change unwind library to > >support them. It is certainly doable. > > IMHO it was a mistake to not have any callee saved xmm register in the >

Re: [x86-64 psABI]: Extend x86-64 psABI to support AVX-512

2013-07-24 Thread H.J. Lu
On Wed, Jul 24, 2013 at 10:55 AM, Peter Bergner wrote: > On Wed, 2013-07-24 at 10:42 -0700, H.J. Lu wrote: >> Are there any other Linux targets with callee saved vector registers? > > Yes, on POWER. From our ABI: > > On processors with the VMX feature. > v0-v1 Volatile scratch registers >

Re: [x86-64 psABI]: Extend x86-64 psABI to support AVX-512

2013-07-24 Thread Ondřej Bílka
On Wed, Jul 24, 2013 at 08:25:14AM -1000, Richard Henderson wrote: > On 07/24/2013 05:23 AM, Richard Biener wrote: > > "H.J. Lu" wrote: > > > >> Hi, > >> > >> Here is a patch to extend x86-64 psABI to support AVX-512: > > > > Afaik avx 512 doubles the amount of xmm registers. Can we get them cal

Re: [x86-64 psABI]: Extend x86-64 psABI to support AVX-512

2013-07-24 Thread Richard Henderson
On 07/24/2013 05:23 AM, Richard Biener wrote: > "H.J. Lu" wrote: > >> Hi, >> >> Here is a patch to extend x86-64 psABI to support AVX-512: > > Afaik avx 512 doubles the amount of xmm registers. Can we get them callee > saved please? Having them callee saved pre-supposes that one knows the widt

Re: [x86-64 psABI]: Extend x86-64 psABI to support AVX-512

2013-07-24 Thread Ondřej Bílka
On Wed, Jul 24, 2013 at 07:36:31PM +0200, Richard Biener wrote: > "H.J. Lu" wrote: > > >On Wed, Jul 24, 2013 at 8:23 AM, Richard Biener > > wrote: > >> "H.J. Lu" wrote: > >> > >>>Hi, > >>> > >>>Here is a patch to extend x86-64 psABI to support AVX-512: > >> > >> Afaik avx 512 doubles the amount

Re: [x86-64 psABI]: Extend x86-64 psABI to support AVX-512

2013-07-24 Thread Peter Bergner
On Wed, 2013-07-24 at 10:42 -0700, H.J. Lu wrote: > Are there any other Linux targets with callee saved vector registers? Yes, on POWER. From our ABI: On processors with the VMX feature. v0-v1 Volatile scratch registers v2-v13 Volatile vector parameters registers v14-v19 Volatile s

Re: [x86-64 psABI]: Extend x86-64 psABI to support AVX-512

2013-07-24 Thread H.J. Lu
On Wed, Jul 24, 2013 at 10:36 AM, Richard Biener wrote: > "H.J. Lu" wrote: > >>On Wed, Jul 24, 2013 at 8:23 AM, Richard Biener >> wrote: >>> "H.J. Lu" wrote: >>> Hi, Here is a patch to extend x86-64 psABI to support AVX-512: >>> >>> Afaik avx 512 doubles the amount of xmm registers.

Re: [x86-64 psABI]: Extend x86-64 psABI to support AVX-512

2013-07-24 Thread Richard Biener
"H.J. Lu" wrote: >On Wed, Jul 24, 2013 at 8:23 AM, Richard Biener > wrote: >> "H.J. Lu" wrote: >> >>>Hi, >>> >>>Here is a patch to extend x86-64 psABI to support AVX-512: >> >> Afaik avx 512 doubles the amount of xmm registers. Can we get them >callee saved please? >> > >Make them callee saved m

Re: [x86-64 psABI]: Extend x86-64 psABI to support AVX-512

2013-07-24 Thread Joseph S. Myers
On Wed, 24 Jul 2013, H.J. Lu wrote: > > Afaik avx 512 doubles the amount of xmm registers. Can we get them > > callee saved please? > > Make them callee saved means we need to change ld.so to > preserve them and we need to change unwind library to > support them. It is certainly doable. And se

Re: [x86-64 psABI]: Extend x86-64 psABI to support AVX-512

2013-07-24 Thread H.J. Lu
On Wed, Jul 24, 2013 at 8:23 AM, Richard Biener wrote: > "H.J. Lu" wrote: > >>Hi, >> >>Here is a patch to extend x86-64 psABI to support AVX-512: > > Afaik avx 512 doubles the amount of xmm registers. Can we get them callee > saved please? > Make them callee saved means we need to change ld.so

Re: [x86-64 psABI]: Extend x86-64 psABI to support AVX-512

2013-07-24 Thread Richard Biener
"H.J. Lu" wrote: >Hi, > >Here is a patch to extend x86-64 psABI to support AVX-512: Afaik avx 512 doubles the amount of xmm registers. Can we get them callee saved please? Thanks, Richard. >http://software.intel.com/sites/default/files/319433-015.pdf > > >-- >H.J.

Re: [x86-64 psABI]: Extend x86-64 psABI to support AVX-512

2013-07-23 Thread Joseph S. Myers
On Tue, 23 Jul 2013, H.J. Lu wrote: > Here is a patch to extend x86-64 psABI to support AVX-512: I have no comments on this patch for now - but where is the version control repository we should use for the ABI source code, since x86-64.org has been down for some time? (I've also CC:ed the last

[x86-64 psABI]: Extend x86-64 psABI to support AVX-512

2013-07-23 Thread H.J. Lu
Hi, Here is a patch to extend x86-64 psABI to support AVX-512: http://software.intel.com/sites/default/files/319433-015.pdf -- H.J. avx512.patch Description: Binary data