Re: [PATCH] Fix -Wstringop-overflow warning in 23_containers/vector/types/1.cc

2024-05-29 Thread François Dumont
Looks like this new version works the same to fix the warning without the issues reported here. All 23_containers/vector tests run in C++98/14/20 so far. Ok to commit once I've complete the testsuite (or some bot did it for me !) ? I'll look for a PR to associate, if you have one in mind do

[PATCH, rs6000] Optimize vector construction with two vector doubleword loads [PR103568]

2024-05-29 Thread HAO CHEN GUI
Hi, This patch optimizes vector construction with two vector doubleword loads. It generates an optimal insn sequence as "xxlor" has lower latency than "mtvsrdd" on Power10. Bootstrapped and tested on powerpc64-linux BE and LE with no regressions. OK for the trunk? Thanks Gui Haochen ChangeLo

[PATCH] i386: Handle target of __builtin_ia32_cmp[p|s][s|d] from avx into sse/sse2/avx

2024-05-29 Thread Hu, Lin1
Hi, all This patch aims to extend __builtin_ia32_cmp[p|s][s|d] from avx to sse/sse2/avx, where its immediate is in range of [0, 7]. Bootstrapped and regtested on x86_64-pc-linux-gnu, OK for trunk? BRs, Lin gcc/ChangeLog: * config/i386/avxintrin.h: Move cmp[p|s][s|d] to [e|x]mmintrin.h,

Re: [PATCH] [libstdc++-v3] [rtems] enable filesystem support

2024-05-29 Thread Jonathan Wakely
On Thu, 30 May 2024, 06:03 Alexandre Oliva, wrote: > > mkdir, chdir and chmod functions are defined in librtemscpu, that > doesn't get linked in during libstdc++-v3 configure, but applications > use -qrtems for linking, which brings those symbols in, so it makes > sense to mark them as available

Re: [PATCH 3/3 v2] vect: support direct conversion under x86-64-v3.

2024-05-29 Thread Hongtao Liu
On Wed, May 29, 2024 at 5:00 PM Hu, Lin1 wrote: > > According to hongtao's suggestion, I support some trunc in mmx.md under > x86-64-v3, and optimize ix86_expand_trunc_with_avx2_noavx512f. Ok. > > BRs, > Lin > > gcc/ChangeLog: > > PR 107432 > * config/i386/i386-expand.cc (ix86_expa

<    1   2