This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.

--


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]