Re: clarification on the intent of X86_64 psABI vector return.

2018-10-30 Thread Iain Sandoe
> On 30 Oct 2018, at 13:26, H.J. Lu wrote: > > In Tue, Oct 30, 2018 at 4:28 AM Iain Sandoe wrote: >> > > Please open a bug to keep track. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87812

Re: clarification on the intent of X86_64 psABI vector return.

2018-10-30 Thread H.J. Lu
In Tue, Oct 30, 2018 at 4:28 AM Iain Sandoe wrote: > > Hi, > > For a processor that supports SSE, but not AVX. > > the following code: > > typedef int __attribute__((mode(QI))) qi; > typedef qi __attribute__((vector_size (32))) v32qi; > > v32qi foo (int x) > { > v32qi y = {'0','1','2','3','4','5

clarification on the intent of X86_64 psABI vector return.

2018-10-30 Thread Iain Sandoe
Hi, For a processor that supports SSE, but not AVX. the following code: typedef int __attribute__((mode(QI))) qi; typedef qi __attribute__((vector_size (32))) v32qi; v32qi foo (int x) { v32qi y = {'0','1','2','3','4','5','6','7','8','9','a','b','c','d','e','f', '0','1','2','3','4','