Hi Dennis,

> -----Original Message-----
> From: Dennis Zhang <dennis.zh...@arm.com>
> Sent: 06 October 2020 17:55
> To: gcc-patches@gcc.gnu.org
> Cc: Kyrylo Tkachov <kyrylo.tkac...@arm.com>; nd <n...@arm.com>;
> Richard Earnshaw <richard.earns...@arm.com>; Ramana Radhakrishnan
> <ramana.radhakrish...@arm.com>
> Subject: [PATCH][Arm] Auto-vectorization for MVE: vmul
> 
> Hi all,
> 
> This patch enables MVE vmul instructions for auto-vectorization.
> It includes MVE in expander mul<mode>3 to enable vectorization for MVE
> and modifies related vmul insns to support the expander by using 'mult'
> instead of unspec.
> The mul<mode>3 for vectorization in vec-common.md uses mode iterator
> VDQWH instead of VALLW to cover all supported modes.
> The macros ARM_HAVE_<MODE>_ARITH are used to select supported
> modes for
> different targets. The redundant mul<mode>3 in neon.md is removed.
> 
> Regression tested on arm-none-eabi and bootstraped on
> arm-none-linux-gnueabihf.
> 
> Is it OK for trunk please?

Ok, thank you for your patience.
Kyrill

> 
> Thanks
> Dennis
> 
> gcc/ChangeLog:
> 
> 2020-10-02  Dennis Zhang  <dennis.zh...@arm.com>
> 
> * config/arm/mve.md (mve_vmulq<mode>): New entry for vmul instruction
> using expression 'mult'.
> (mve_vmulq_f<mode>): Use mult instead of VMULQ_F.
> * config/arm/neon.md (mul<mode>3): Removed.
> * config/arm/vec-common.md (mul<mode>3): Use the new mode macros
> ARM_HAVE_<MODE>_ARITH. Use mode iterator VDQWH instead of VALLW.
> 
> gcc/testsuite/ChangeLog:
> 
> 2020-10-02  Dennis Zhang  <dennis.zh...@arm.com>
> 
> * gcc.target/arm/simd/mve-vmul_1.c: New test.

Reply via email to