Re: [PATCH] s390: define single step vector casts

2024-06-20 Thread Richard Biener
> Am 20.06.2024 um 17:40 schrieb Stefan Schulze Frielinghaus > : > > On Thu, Jun 20, 2024 at 09:06:11AM +0200, Juergen Christ wrote: >> Some casts were missing leading to missed of bad vectorizations where >> casting was done scalar followed by a vector creation from the >> individual element

Re: [PATCH] s390: define single step vector casts

2024-06-20 Thread Stefan Schulze Frielinghaus
On Thu, Jun 20, 2024 at 09:06:11AM +0200, Juergen Christ wrote: > Some casts were missing leading to missed of bad vectorizations where > casting was done scalar followed by a vector creation from the > individual elements. > > gcc/ChangeLog: > > * config/s390/vector.md (VEC_HALF_NARROWED):

[PATCH] s390: define single step vector casts

2024-06-20 Thread Juergen Christ
Some casts were missing leading to missed of bad vectorizations where casting was done scalar followed by a vector creation from the individual elements. gcc/ChangeLog: * config/s390/vector.md (VEC_HALF_NARROWED): New mode iterator. (vec_half_narrowed): ditto. (trunc2): Ne