Re: Extend fold_vec_perm to fold VEC_PERM_EXPR in VLA manner

2022-12-25 Thread Prathamesh Kulkarni via Gcc-patches
On Tue, 13 Dec 2022 at 11:35, Prathamesh Kulkarni wrote: > > On Tue, 6 Dec 2022 at 21:00, Richard Sandiford > wrote: > > > > Prathamesh Kulkarni via Gcc-patches writes: > > > On Fri, 4 Nov 2022 at 14:00, Prathamesh Kulkarni > > > wrote: > > >> > > >> On Mon, 31 Oct 2022 at 15:27, Richard Sandif

Re: [aarch64] Use dup and zip1 for interleaving elements in initializing vector

2022-12-25 Thread Prathamesh Kulkarni via Gcc-patches
On Tue, 6 Dec 2022 at 07:01, Prathamesh Kulkarni wrote: > > On Mon, 5 Dec 2022 at 16:50, Richard Sandiford > wrote: > > > > Richard Sandiford via Gcc-patches writes: > > > Prathamesh Kulkarni writes: > > >> Hi, > > >> For the following test-case: > > >> > > >> int16x8_t foo(int16_t x, int16_t y

Re: [PATCH] libgfortran: Replace mutex with rwlock

2022-12-25 Thread Steve Kargl via Gcc-patches
On Wed, Dec 21, 2022 at 07:27:11PM -0500, Lipeng Zhu via Fortran wrote: > This patch try to introduce the rwlock and split the read/write to > unit_root tree and unit_cache with rwlock instead of the mutex to > increase CPU efficiency. In the get_gfc_unit function, the percentage > to step into the

Re: [PATCH V2] Disable sched1 in functions that call setjmp

2022-12-25 Thread Segher Boessenkool
Hi! On Sat, Dec 24, 2022 at 10:58:41AM +0100, Jose E. Marchesi via Gcc-patches wrote: > Allright, so we have two short-term alternatives for at least remove the > possibility that GCC generates wrong code for valid C when the scheduler > is turned on: > > a) To disable sched1 in functions that c

RE: [x86 PATCH] Use movss/movsd to implement V4SI/V2DI VEC_PERM.

2022-12-25 Thread Roger Sayle
Hi Uros, Many thanks and merry Christmas. Here's the version as committed, implemented using your preferred idiom with mode iterators for movss/movsd. Thanks again. 2022-12-25 Roger Sayle Uroš Bizjak gcc/ChangeLog * config/i386/i386-builtin.def (__builtin_ia32_movss): U

[committed] wwwdocs: gcc-12: Spelling fixes

2022-12-25 Thread Gerald Pfeifer
A case of British to American English, too, for consistency. Gerald --- htdocs/gcc-12/changes.html | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/htdocs/gcc-12/changes.html b/htdocs/gcc-12/changes.html index 30fa4d6e..b3775f82 100644 --- a/htdocs/gcc-12/chang

Re: [Committed] Tweak new gcc.target/i386/pr107548-1.c for -march=cascadelake.

2022-12-25 Thread Andreas Schwab
On Dez 24 2022, Roger Sayle wrote: > +/* { dg-final { scan-assembler-times "v?paddd" 6 } } */ Since this is not anchored, the v? pattern is redundant. > +/* { dg-final { scan-assembler-times "v?paddq" 2 } } */ > +/* { dg-final { scan-assembler "v?psrldq" } } */ Likewise. -- Andreas Schwab, sc