[PATCH] [i386] Optimize __builtin_shuffle_vector.

2021-08-15 Thread liuhongt via Gcc-patches
Hi: Here's updated patch which does 3 things: 1. Support vpermw/vpermb in ix86_expand_vec_one_operand_perm_avx512. 2. Support 256/128-bits vpermi2b in ix86_expand_vec_perm_vpermt2. 3. Add define_insn_and_split to optimize specific vector permutation to opmov{dw,wb,qd}. Bootstrapped and

Re: [PATCH] Fix ICE when mixing VLAs and statement expressions [PR91038]

2021-08-15 Thread Uecker, Martin
Am Montag, den 16.08.2021, 00:30 -0400 schrieb Jason Merrill: > On 8/1/21 1:36 PM, Uecker, Martin wrote: > > > > Here is an attempt to fix some old and annoying bugs related > > to VLAs and statement expressions. In particulary, this seems > > to fix the issues with variably-modified types which

Re: [PATCH] RISC-V: Allow multi-lib build with different code model

2021-08-15 Thread Kito Cheng
Committed to trunk. On Wed, Jul 21, 2021 at 4:45 PM Kito Cheng wrote: > > --with-multilib-generator was only support for different ISA/ABI > combination, however code model is effect the code gen a lots it > should able to handled in multilib mechanism. > > Adding `--cmodel=` option to

Re: [PATCH] Fix ICE when mixing VLAs and statement expressions [PR91038]

2021-08-15 Thread Jason Merrill via Gcc-patches
On 8/1/21 1:36 PM, Uecker, Martin wrote: Here is an attempt to fix some old and annoying bugs related to VLAs and statement expressions. In particulary, this seems to fix the issues with variably-modified types which are returned from statement expressions (which works on clang), but there are

Re: Ping: [PATCH v2] Analyze niter for until-wrap condition [PR101145]

2021-08-15 Thread Bin.Cheng via Gcc-patches
On Wed, Aug 4, 2021 at 10:42 AM guojiufu wrote: > > Hi, > > I would like to have a ping on this. > > https://gcc.gnu.org/pipermail/gcc-patches/2021-July/574596.html Sorry for being late in replying. > > BR, > Jiufu > > On 2021-07-15 08:17, guojiufu via Gcc-patches wrote: > > Hi, > > > > I would

Re: [PATCH 1/2] analyzer: detect and analyze calls via function pointer (GSoC)

2021-08-15 Thread David Malcolm via Gcc-patches
On Sun, 2021-08-15 at 20:28 +0530, Ankur Saini wrote: > The patch extends the analyser’s functionality to understand and > analyze indirect calls (calls via a function pointer or calls to > virtual functions ) > > On successful merging, the patch should also fix the following bugs :- > > 1.

[PATCH 1/2] analyzer: detect and analyze calls via function pointer (GSoC)

2021-08-15 Thread Ankur Saini via Gcc-patches
The patch extends the analyser’s functionality to understand and analyze indirect calls (calls via a function pointer or calls to virtual functions ) On successful merging, the patch should also fix the following bugs :- 1. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100546 2.