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

Re: [wwwdocs] Typo in description of __builtin_expect_with_probability

2018-10-30 Thread Jonathan Wakely
On Tue, 30 Oct 2018 at 12:06, Martin Liška wrote: > > On 10/30/18 10:58 AM, Jonathan Wakely wrote: > > On Tue, 30 Oct 2018 at 09:54, Jonathan Wakely wrote: > >> > >> On Tue, 30 Oct 2018 at 09:18, Rasmus Villemoes > >> wrote: > >>> > >>> On 2018-10-30 09:29, Martin Liška wrote: > On 10/30/1

Re: [wwwdocs] Typo in description of __builtin_expect_with_probability

2018-10-30 Thread Martin Liška
On 10/30/18 10:58 AM, Jonathan Wakely wrote: > On Tue, 30 Oct 2018 at 09:54, Jonathan Wakely wrote: >> >> On Tue, 30 Oct 2018 at 09:18, Rasmus Villemoes >> wrote: >>> >>> On 2018-10-30 09:29, Martin Liška wrote: On 10/30/18 3:56 AM, Alexander Oblovatniy wrote: > Hello, > > I'd l

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','

Re: [wwwdocs] Typo in description of __builtin_expect_with_probability

2018-10-30 Thread Jakub Jelinek
On Tue, Oct 30, 2018 at 11:11:00AM +0100, Rasmus Villemoes wrote: > In > > DEF_FUNCTION_TYPE_3 (BT_FN_LONG_LONG_LONG_DOUBLE, >BT_LONG, BT_LONG, BT_LONG, BT_DOUBLE) > > > doesn't the first LONG refer to the return type, so that the third > argument just has type double? Other than

Re: [wwwdocs] Typo in description of __builtin_expect_with_probability

2018-10-30 Thread Rasmus Villemoes
On 2018-10-30 10:54, Jonathan Wakely wrote: > On Tue, 30 Oct 2018 at 09:18, Rasmus Villemoes > wrote: >> >> On 2018-10-30 09:29, Martin Liška wrote: >>> On 10/30/18 3:56 AM, Alexander Oblovatniy wrote: Hello, I'd like to report a typo in description of «__builtin_expect_with_p

Re: [wwwdocs] Typo in description of __builtin_expect_with_probability

2018-10-30 Thread Jonathan Wakely
On Tue, 30 Oct 2018 at 09:54, Jonathan Wakely wrote: > > On Tue, 30 Oct 2018 at 09:18, Rasmus Villemoes > wrote: > > > > On 2018-10-30 09:29, Martin Liška wrote: > > > On 10/30/18 3:56 AM, Alexander Oblovatniy wrote: > > >> Hello, > > >> > > >> I'd like to report a typo in description of > > >>

Re: [wwwdocs] Typo in description of __builtin_expect_with_probability

2018-10-30 Thread Jonathan Wakely
On Tue, 30 Oct 2018 at 09:18, Rasmus Villemoes wrote: > > On 2018-10-30 09:29, Martin Liška wrote: > > On 10/30/18 3:56 AM, Alexander Oblovatniy wrote: > >> Hello, > >> > >> I'd like to report a typo in description of > >> «__builtin_expect_with_probability»: > >> https://gcc.gnu.org/onlinedocs/gc

Re: [wwwdocs] Typo in description of __builtin_expect_with_probability

2018-10-30 Thread Rasmus Villemoes
On 2018-10-30 09:29, Martin Liška wrote: > On 10/30/18 3:56 AM, Alexander Oblovatniy wrote: >> Hello, >> >> I'd like to report a typo in description of >> «__builtin_expect_with_probability»: >> https://gcc.gnu.org/onlinedocs/gcc/Other-Builtins.html#Other-Builtins >> >> The description starts with

Re: Suitable regression test for vectorizer patches?

2018-10-30 Thread Richard Biener
On Mon, Oct 29, 2018 at 7:03 PM Joern Wolfgang Rennecke wrote: > > I want to submit some vectorizer patches, what would be a suitable > regression test? I am sure you have testcases, no? For new features please make them dg-do run ones by checking correctness. > Preferably some native or cross

Re: [wwwdocs] Typo in description of __builtin_expect_with_probability

2018-10-30 Thread Martin Liška
On 10/30/18 3:56 AM, Alexander Oblovatniy wrote: > Hello, > > I'd like to report a typo in description of > «__builtin_expect_with_probability»: > https://gcc.gnu.org/onlinedocs/gcc/Other-Builtins.html#Other-Builtins > > The description starts with "The built-in has same semantics as > *__builtin