[PATCH 7/9][GCC][Arm] Enable autovectorization of Half float values

Kyrill Tkachov kyrylo.tkachov@foss.arm.com
Fri Dec 21 11:10:00 GMT 2018


Hi Tamar,

On 11/11/18 10:27, Tamar Christina wrote:
> Hi All,
>
> The AArch32 backend is currently not able to support autovectorization of half-float values
> on ARM. This is because we never told the vectorizer what the vector modes are for Half floats.
>
> This enables autovectorization by definiting V4HF and V8HF as the vector modes.
>
> Bootstrap and Regtest on aarch64-none-linux-gnu, arm-none-gnueabihf and x86_64-pc-linux-gnu
> are still on going but previous patch showed no regressions.
>

Did the testing go okay in the end?
This looks ok to me but can you provide an example, or better yet, add a test that demonstrates this changes?

Thanks,
Kyrill

> Ok for trunk?
>
> Thanks,
> Tamar
>
> gcc/ChangeLog:
>
> 2018-11-11  Tamar Christina  <tamar.christina@arm.com>
>
>         * config/arm/arm.c (arm_preferred_simd_mode): Add V4HF and V8HF.
>
> -- 



More information about the Gcc-patches mailing list