Re: arm: Adjust cost of vector of constant zero

2021-01-28 Thread Christophe Lyon via Gcc-patches
On Wed, 27 Jan 2021 at 15:03, Kyrylo Tkachov wrote: > > > > > -Original Message- > > From: Christophe Lyon > > Sent: 27 January 2021 13:56 > > To: Kyrylo Tkachov > > Cc: Kyrylo Tkachov via Gcc-patches > > Subject: Re: arm: Adjust cost of v

RE: arm: Adjust cost of vector of constant zero

2021-01-27 Thread Kyrylo Tkachov via Gcc-patches
> -Original Message- > From: Christophe Lyon > Sent: 27 January 2021 13:56 > To: Kyrylo Tkachov > Cc: Kyrylo Tkachov via Gcc-patches > Subject: Re: arm: Adjust cost of vector of constant zero > > On Wed, 27 Jan 2021 at 14:44, Kyrylo Tkachov > wrote: >

Re: arm: Adjust cost of vector of constant zero

2021-01-27 Thread Christophe Lyon via Gcc-patches
On Wed, 27 Jan 2021 at 14:44, Kyrylo Tkachov wrote: > > > > > -Original Message- > > From: Christophe Lyon > > Sent: 27 January 2021 13:12 > > To: Kyrylo Tkachov > > Cc: Kyrylo Tkachov via Gcc-patches > > Subject: Re: arm: Adjust cost of v

RE: arm: Adjust cost of vector of constant zero

2021-01-27 Thread Kyrylo Tkachov via Gcc-patches
> -Original Message- > From: Christophe Lyon > Sent: 27 January 2021 13:12 > To: Kyrylo Tkachov > Cc: Kyrylo Tkachov via Gcc-patches > Subject: Re: arm: Adjust cost of vector of constant zero > > On Wed, 27 Jan 2021 at 10:15, Kyrylo Tkachov > w

Re: arm: Adjust cost of vector of constant zero

2021-01-27 Thread Christophe Lyon via Gcc-patches
On Wed, 27 Jan 2021 at 10:15, Kyrylo Tkachov wrote: > > Hi Christophe, > > > -Original Message- > > From: Gcc-patches On Behalf Of > > Christophe Lyon via Gcc-patches > > Sent: 26 January 2021 18:03 > > To: gcc Patches > > Subject

RE: arm: Adjust cost of vector of constant zero

2021-01-27 Thread Kyrylo Tkachov via Gcc-patches
Hi Christophe, > -Original Message- > From: Gcc-patches On Behalf Of > Christophe Lyon via Gcc-patches > Sent: 26 January 2021 18:03 > To: gcc Patches > Subject: arm: Adjust cost of vector of constant zero > > Neon vector comparisons have a dedicated ver

arm: Adjust cost of vector of constant zero

2021-01-26 Thread Christophe Lyon via Gcc-patches
Neon vector comparisons have a dedicated version when comparing with constant zero: it means its cost is free. Adjust the cost in arm_rtx_costs_internal accordingly, for Neon only, since MVE does not support this. 2021-01-26 Christophe Lyon gcc/ PR target/98730 * config/arm/arm.c (arm_rtx_cos