Re: [PATCH] middle-end/113576 - avoid out-of-bound vector element access

2024-03-05 Thread Jeff Law
On 2/6/24 04:37, Richard Biener wrote: The following avoids accessing out-of-bound vector elements when native encoding a boolean vector with sub-BITS_PER_UNIT precision elements. The error was basing the number of elements to extract on the rounded up total byte size involved and the patch b

Re: [PATCH] middle-end/113576 - avoid out-of-bound vector element access

2024-02-15 Thread Richard Biener
On Thu, 15 Feb 2024, Richard Sandiford wrote: > Richard Biener writes: > > On Wed, 14 Feb 2024, Richard Sandiford wrote: > > > >> Richard Biener writes: > >> > On Wed, 14 Feb 2024, Richard Sandiford wrote: > >> > > >> >> Richard Biener writes: > >> >> > The following avoids accessing out-of-bou

Re: [PATCH] middle-end/113576 - avoid out-of-bound vector element access

2024-02-15 Thread Richard Sandiford
Richard Biener writes: > On Wed, 14 Feb 2024, Richard Sandiford wrote: > >> Richard Biener writes: >> > On Wed, 14 Feb 2024, Richard Sandiford wrote: >> > >> >> Richard Biener writes: >> >> > The following avoids accessing out-of-bound vector elements when >> >> > native encoding a boolean vecto

Re: [PATCH] middle-end/113576 - avoid out-of-bound vector element access

2024-02-15 Thread Richard Biener
On Wed, 14 Feb 2024, Richard Sandiford wrote: > Richard Biener writes: > > On Wed, 14 Feb 2024, Richard Sandiford wrote: > > > >> Richard Biener writes: > >> > The following avoids accessing out-of-bound vector elements when > >> > native encoding a boolean vector with sub-BITS_PER_UNIT precisio

Re: [PATCH] middle-end/113576 - avoid out-of-bound vector element access

2024-02-14 Thread Richard Sandiford
Richard Biener writes: > On Wed, 14 Feb 2024, Richard Sandiford wrote: > >> Richard Biener writes: >> > The following avoids accessing out-of-bound vector elements when >> > native encoding a boolean vector with sub-BITS_PER_UNIT precision >> > elements. The error was basing the number of elemen

Re: [PATCH] middle-end/113576 - avoid out-of-bound vector element access

2024-02-14 Thread Richard Biener
On Wed, 14 Feb 2024, Richard Sandiford wrote: > Richard Biener writes: > > The following avoids accessing out-of-bound vector elements when > > native encoding a boolean vector with sub-BITS_PER_UNIT precision > > elements. The error was basing the number of elements to extract > > on the rounde

Re: [PATCH] middle-end/113576 - avoid out-of-bound vector element access

2024-02-14 Thread Richard Sandiford
Richard Biener writes: > The following avoids accessing out-of-bound vector elements when > native encoding a boolean vector with sub-BITS_PER_UNIT precision > elements. The error was basing the number of elements to extract > on the rounded up total byte size involved and the patch bases > every

[PATCH] middle-end/113576 - avoid out-of-bound vector element access

2024-02-06 Thread Richard Biener
The following avoids accessing out-of-bound vector elements when native encoding a boolean vector with sub-BITS_PER_UNIT precision elements. The error was basing the number of elements to extract on the rounded up total byte size involved and the patch bases everything on the total number of eleme