ping
> -----Original Message----- > From: Gcc-patches <gcc-patches-boun...@gcc.gnu.org> On Behalf Of Tamar > Christina > Sent: Friday, September 25, 2020 3:31 PM > To: gcc-patches@gcc.gnu.org > Cc: Richard Earnshaw <richard.earns...@arm.com>; nd <n...@arm.com>; > Ramana Radhakrishnan <ramana.radhakrish...@arm.com> > Subject: [PATCH v2 13/16]Arm: Add support for auto-vectorization using HF > mode. > > Hi All, > > This adds support to the auto-vectorizer to support HFmode vectorization for > AArch32. This is supported when +fp16 is used. I wonder if I should disable > the returning of the type if the option isn't enabled. > > At the moment it will be returned but the vectorizer will try and fail to use > it. > It wastes a few compile cycles but doesn't result in bad code. > > Bootstrapped Regtested on arm-none-linux-gnueabihf and no issues. > > Ok for master? > > Thanks, > Tamar > > gcc/ChangeLog: > > * config/arm/arm.c (arm_preferred_simd_mode): Add E_HFmode. > > gcc/testsuite/ChangeLog: > > * gcc.target/arm/vect-half-floats.c: New test. > > --