Re: [PATCH i386 AVX512] [81/n] Add new built-ins.

2014-10-22 Thread Jakub Jelinek
On Wed, Oct 22, 2014 at 03:34:22PM +0400, Kirill Yukhin wrote: > > Can you test with -mavx512 (or whatever enables the builtins?) > Done. > I did: > sync && time for i in `seq 1000` ; do ./build-x86_64-linux/gcc/xgcc > -B./build-x86_64-linux/gcc -O0 -S test.c -mavx512vl ; done > > Here're r

Re: [PATCH i386 AVX512] [81/n] Add new built-ins.

2014-10-22 Thread Kirill Yukhin
Hello, On 22 Oct 10:09, Richard Biener wrote: > On Tue, Oct 21, 2014 at 5:08 PM, Kirill Yukhin > wrote: > > On 21 Oct 18:47, Kirill Yukhin wrote: > >> On 21 Oct 16:20, Jakub Jelinek wrote: > >> > On Tue, Oct 21, 2014 at 06:08:15PM +0400, Kirill Yukhin wrote: > >> > > --- a/gcc/tree.h > >> > > +++

Re: [PATCH i386 AVX512] [81/n] Add new built-ins.

2014-10-22 Thread Richard Biener
On Tue, Oct 21, 2014 at 5:08 PM, Kirill Yukhin wrote: > On 21 Oct 18:47, Kirill Yukhin wrote: >> On 21 Oct 16:20, Jakub Jelinek wrote: >> > On Tue, Oct 21, 2014 at 06:08:15PM +0400, Kirill Yukhin wrote: >> > > --- a/gcc/tree.h >> > > +++ b/gcc/tree.h >> > > @@ -2334,6 +2334,10 @@ extern void decl_

Re: [PATCH i386 AVX512] [81/n] Add new built-ins.

2014-10-21 Thread Kirill Yukhin
On 21 Oct 18:47, Kirill Yukhin wrote: > On 21 Oct 16:20, Jakub Jelinek wrote: > > On Tue, Oct 21, 2014 at 06:08:15PM +0400, Kirill Yukhin wrote: > > > --- a/gcc/tree.h > > > +++ b/gcc/tree.h > > > @@ -2334,6 +2334,10 @@ extern void decl_value_expr_insert (tree, tree); > > > #define DECL_COMDAT(NOD

Re: [PATCH i386 AVX512] [81/n] Add new built-ins.

2014-10-21 Thread Kirill Yukhin
On 21 Oct 16:20, Jakub Jelinek wrote: > On Tue, Oct 21, 2014 at 06:08:15PM +0400, Kirill Yukhin wrote: > > --- a/gcc/tree.h > > +++ b/gcc/tree.h > > @@ -2334,6 +2334,10 @@ extern void decl_value_expr_insert (tree, tree); > > #define DECL_COMDAT(NODE) \ > >(DECL_WITH_VIS_CHECK (NODE)->decl_with

Re: [PATCH i386 AVX512] [81/n] Add new built-ins.

2014-10-21 Thread Jakub Jelinek
On Tue, Oct 21, 2014 at 06:08:15PM +0400, Kirill Yukhin wrote: > --- a/gcc/tree.h > +++ b/gcc/tree.h > @@ -2334,6 +2334,10 @@ extern void decl_value_expr_insert (tree, tree); > #define DECL_COMDAT(NODE) \ >(DECL_WITH_VIS_CHECK (NODE)->decl_with_vis.comdat_flag) > > + /* In a FUNCTION_DECL in

Re: [PATCH i386 AVX512] [81/n] Add new built-ins.

2014-10-21 Thread Kirill Yukhin
Hello, On 21 Oct 11:17, Richard Biener wrote: > On Mon, Oct 20, 2014 at 3:50 PM, Jakub Jelinek wrote: > > On Mon, Oct 20, 2014 at 05:41:25PM +0400, Kirill Yukhin wrote: > >> Hello, > >> This patch adds (almost) all built-ins needed by > >> AVX-512VL,BW,DQ intrinsics. > >> > >> Main questionable hu

Re: [PATCH i386 AVX512] [81/n] Add new built-ins.

2014-10-21 Thread Richard Biener
On Mon, Oct 20, 2014 at 3:50 PM, Jakub Jelinek wrote: > On Mon, Oct 20, 2014 at 05:41:25PM +0400, Kirill Yukhin wrote: >> Hello, >> This patch adds (almost) all built-ins needed by >> AVX-512VL,BW,DQ intrinsics. >> >> Main questionable hunk is: >> >> diff --git a/gcc/tree-core.h b/gcc/tree-core.h

Re: [PATCH i386 AVX512] [81/n] Add new built-ins.

2014-10-20 Thread Jakub Jelinek
On Mon, Oct 20, 2014 at 05:41:25PM +0400, Kirill Yukhin wrote: > Hello, > This patch adds (almost) all built-ins needed by > AVX-512VL,BW,DQ intrinsics. > > Main questionable hunk is: > > diff --git a/gcc/tree-core.h b/gcc/tree-core.h > index b69312b..a639487 100644 > --- a/gcc/tree-core.h > +++