RE: [PATCH] aarch64: Add internal tune flag to minimise VL-based scalar ops

2021-02-22 Thread Kyrylo Tkachov via Gcc-patches
> -Original Message- > From: Gcc-patches On Behalf Of > Kyrylo Tkachov via Gcc-patches > Sent: 16 February 2021 15:20 > To: gcc-patches@gcc.gnu.org > Subject: [PATCH] aarch64: Add internal tune flag to minimise VL-based scalar > ops > > Hi all, > >

[PATCH] aarch64: Add internal tune flag to minimise VL-based scalar ops

2021-02-16 Thread Kyrylo Tkachov via Gcc-patches
Hi all, This patch introduces an internal tune flag to break up VL-based scalar ops into a GP-reg scalar op with the VL read kept separate. This can be preferable on some CPUs. I went for a tune param rather than extending the rtx costs as our RTX costs tables aren't set up to track this intric