Re: [PATCH, rs6000] Call vector load/store with length expand only on 64-bit Power10 [PR96762]

2023-08-30 Thread Kewen.Lin via Gcc-patches
on 2023/8/31 13:47, HAO CHEN GUI wrote: > Kewen, > I refined the patch according to your comments and it passed bootstrap > and regression test. > > I committed it as > https://gcc.gnu.org/g:946b8967b905257ac9f140225db744c9a6ab91be Thanks! We want this to be backported, so it's also ok for b

[PATCH 0/2] resolve confilct between zcmp multi push/pop and shrink-wrap-separate

2023-08-30 Thread Fei Gao
Enalble zcmp for -Os and shrink-warp-separate for the speed perfered optimization by default. Fei Gao (2): allow targets to check shrink-wrap-separate enabled or not [RISC-V] Enalble zcmp for -Os gcc/config/riscv/riscv.cc | 21 - gcc/shrink-wrap.cc

[PATCH 1/2] allow targets to check shrink-wrap-separate enabled or not

2023-08-30 Thread Fei Gao
No functional changes but restructure and expose use_shrink_wrapping_separate to the TARGETs. gcc/ChangeLog: * shrink-wrap.cc (try_shrink_wrapping_separate):call use_shrink_wrapping_separate. (use_shrink_wrapping_separate): wrap the condition check in use_shrin

[PATCH 2/2] [RISC-V] Enalble zcmp for -Os

2023-08-30 Thread Fei Gao
Enalble zcmp for -Os and shrink-warp-separate for the speed perfered optimization by default. To force enabling zcmp multi push/pop in speed perfered case, fno-shrink-wrap-separate has to be explictly given. gcc/ChangeLog: * config/riscv/riscv.cc (riscv_avoid_shrink_wrapping_sep

Re: [PATCH] rs6000: Update instruction counts to match vec_* calls [PR111228]

2023-08-30 Thread Kewen.Lin via Gcc-patches
Hi Peter, on 2023/8/31 06:42, Peter Bergner wrote: > Commit r14-3258-ge7a36e4715c716 increased the amount of folding we perform, > leading to better code. Update the expected instruction counts to match the > the number of associated vec_* built-in calls. > > Tested on powerpc64le-linux with no

Re: [PATCH 6/8] vect: Add vector_mode paramater to simd_clone_usable

2023-08-30 Thread Richard Biener via Gcc-patches
On Wed, Aug 30, 2023 at 5:02 PM Andre Vieira (lists) wrote: > > > > On 30/08/2023 14:01, Richard Biener wrote: > > On Wed, Aug 30, 2023 at 11:15 AM Andre Vieira (lists) via Gcc-patches > > wrote: > >> > >> This patch adds a machine_mode parameter to the TARGET_SIMD_CLONE_USABLE > >> hook to enabl

[PATCH 2/2] c++: Extended diagnostics for P0847R7 (Deducing This) [PR102609]

2023-08-30 Thread waffl3x via Gcc-patches
Tested and Bootstrapped and tested on x86_64-linux with no regressions. There's a few test cases that are not properly diagnosed yet, but everything that is known to fail is marked as xfail. When I tested the new tests I got 390 expected passes and 64 expected failures. Alright, I have a flight t

<    1   2