[PATCH] Fix load/store bias handling for extractlast.

2025-09-11 Thread Juergen Christ
The length returned by vect_get_loop_len is REALLEN + BIAS, but was assumed to be REALLEN - BIAS. If BIAS is -1, this leads to wrong code. Bootstrapped and regtested on s390. Ok for trunk? gcc/ChangeLog: * tree-vect-loop.cc (vectorizable_live_operation_1): Fix load/store bias h

Re: [PATCH] Fix load/store bias handling for extractlast.

2025-09-10 Thread Juergen Christ
> > > > Am 09.09.2025 um 12:54 schrieb Juergen Christ : > > > > The length returned by vect_get_loop_len is REALLEN + BIAS, but was > > assumed to be REALLEN - BIAS. If BIAS is -1, this leads to wrong > > code. > > > > Bootstrapped and regtested on s390. Ok for trunk? > > Ok. Can you also

Re: [PATCH] Fix load/store bias handling for extractlast.

2025-09-09 Thread Richard Biener
> Am 09.09.2025 um 12:54 schrieb Juergen Christ : > > The length returned by vect_get_loop_len is REALLEN + BIAS, but was > assumed to be REALLEN - BIAS. If BIAS is -1, this leads to wrong > code. > > Bootstrapped and regtested on s390. Ok for trunk? Ok. Can you also test on ppc64le which