Re: Vector pointer modes

2018-05-17 Thread Andrew Stubbs
On 16/05/18 22:01, Richard Sandiford wrote: Andrew Stubbs writes: Hi all, I'm in the process of trying to update our AMD GCN port from GCC 7 to GCC 8+, but I've hit a problem ... It seems there's a new assumption that pointers and addresses will be scalar, but GCN load instructions require ve

Re: Vector pointer modes

2018-05-16 Thread Richard Sandiford
Andrew Stubbs writes: > Hi all, > > I'm in the process of trying to update our AMD GCN port from GCC 7 to > GCC 8+, but I've hit a problem ... > > It seems there's a new assumption that pointers and addresses will be > scalar, but GCN load instructions require vectors of pointers. > Basically,

Re: Vector pointer modes

2018-05-16 Thread Richard Biener
On May 16, 2018 6:35:05 PM GMT+02:00, Andrew Stubbs wrote: >On 16/05/18 17:24, Richard Biener wrote: >> On May 16, 2018 6:03:35 PM GMT+02:00, Andrew Stubbs > wrote: >>> Is there a new way of dealing with vectors of pointers? >> >> Maybe you can masquerade it behind a large scalar integer mode?..

Re: Vector pointer modes

2018-05-16 Thread Andrew Stubbs
On 16/05/18 17:24, Richard Biener wrote: On May 16, 2018 6:03:35 PM GMT+02:00, Andrew Stubbs wrote: Is there a new way of dealing with vectors of pointers? Maybe you can masquerade it behind a large scalar integer mode?... We're using V64DImode to represent a vector of 64 64-bit pointers.

Re: Vector pointer modes

2018-05-16 Thread Richard Biener
On May 16, 2018 6:03:35 PM GMT+02:00, Andrew Stubbs wrote: >Hi all, > >I'm in the process of trying to update our AMD GCN port from GCC 7 to >GCC 8+, but I've hit a problem ... > >It seems there's a new assumption that pointers and addresses will be >scalar, but GCN load instructions require ve