Re: [PATCH] tree-optimization/94864 - vector insert of vector extract simplification

2023-07-15 Thread Andrew Pinski via Gcc-patches
On Wed, Jul 12, 2023 at 6:37 AM Richard Biener via Gcc-patches wrote: > > The PRs ask for optimizing of > > _1 = BIT_FIELD_REF ; > result_4 = BIT_INSERT_EXPR ; > > to a vector permutation. The following implements this as > match.pd pattern, improving code generation on x86_64. This is more

Re: [PATCH] tree-optimization/94864 - vector insert of vector extract simplification

2023-07-15 Thread Andrew Pinski via Gcc-patches
On Sat, Jul 15, 2023 at 10:31 AM Andrew Pinski wrote: > > On Wed, Jul 12, 2023 at 6:37 AM Richard Biener via Gcc-patches > wrote: > > > > The PRs ask for optimizing of > > > > _1 = BIT_FIELD_REF ; > > result_4 = BIT_INSERT_EXPR ; > > > > to a vector permutation. The following implements this

[committed] hppa: Modify TLS patterns to provide both 32 and 64-bit support

2023-07-15 Thread John David Anglin
Tested on hppa-unknown-linux-gnu and hppa64-hp-hpux11.11. Committed to trunk. Dave --- hppa: Modify TLS patterns to provide both 32 and 64-bit support. 2023-07-15 John David Anglin gcc/ChangeLog: * config/pa/pa.md: Define constants R1_REGNUM, R19_REGNUM and R27_REGNUM.

[PATCH] Update my contrib entry

2023-07-15 Thread Andrew Pinski via Gcc-patches
Committed as obvious after making sure the documentation still builds. gcc/ChangeLog: * doc/contrib.texi: Update my entry. --- gcc/doc/contrib.texi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gcc/doc/contrib.texi b/gcc/doc/contrib.texi index fa551c5f900..d7b73e1

Re: [PATCH v3] Introduce attribute reverse_alias

2023-07-15 Thread Nathan Sidwell via Gcc-patches
Not commenting on the semantics, but the name seems unfortunate (hello bikeshed). The documentation starts with 'attribute causes @var{name} to be emitted as an alias to the definition'. So not emitting a 'reverse alias', whatever that might be. It doesn;t seem to mention how reverse alias di

[PATCH v1|GCC-13] RISC-V: Bugfix for riscv-vsetvl pass.

2023-07-15 Thread Pan Li via Gcc-patches
From: Ju-Zhe Zhong This patch comes from part of below change, which locate one bug of rvv vsetvel pass when auto-vectorization. https://gcc.gnu.org/pipermail/gcc-patches/2023-July/624523.html Unforunately, It is not easy to reproduce this bug by intrinsic APIs but it is worth to backport to GC

RE: Re: [PATCH] RISC-V: Support non-SLP unordered reduction

2023-07-15 Thread Li, Pan2 via Gcc-patches
File a separated PATCH target GCC 13 for this bug with rvv.exp and riscv.exp test passed. Unfortunately, it is not easy to reproduce this by Intrinsic API. https://gcc.gnu.org/pipermail/gcc-patches/2023-July/624574.html Pan -Original Message- From: Gcc-patches On Behalf Of ??? Sent: F