RE: [PATCH v3 4/4] arm: Auto-vectorization for MVE: vneg

2020-12-14 Thread Kyrylo Tkachov via Gcc-patches
> -Original Message- > From: Gcc-patches On Behalf Of > Christophe Lyon via Gcc-patches > Sent: 11 December 2020 18:37 > To: gcc-patches@gcc.gnu.org > Subject: [PATCH v3 4/4] arm: Auto-vectorization for MVE: vneg > > This patch enables MVE vneg instruction

[PATCH v3 4/4] arm: Auto-vectorization for MVE: vneg

2020-12-11 Thread Christophe Lyon via Gcc-patches
This patch enables MVE vneg instructions for auto-vectorization. MVE vnegq insns in mve.md are modified to use 'neg' instead of unspec expression. The neg2 expander is added to vec-common.md. Existing patterns in neon.md are prefixed with neon_. It's not clear why we have different patterns for