Re: [PATCH 3/3] AVX512 fully masked vectorization

2023-06-15 Thread Richard Biener via Gcc-patches
> Am 15.06.2023 um 16:04 schrieb Andrew Stubbs : > > On 15/06/2023 15:00, Richard Biener wrote: >>> On Thu, 15 Jun 2023, Andrew Stubbs wrote: >>> On 15/06/2023 14:34, Richard Biener wrote: On Thu, 15 Jun 2023, Andrew Stubbs wrote: > On 15/06/2023 12:06, Richard Biener wrote: >>>

Re: [PATCH 3/3] AVX512 fully masked vectorization

2023-06-15 Thread Andrew Stubbs
On 15/06/2023 15:00, Richard Biener wrote: On Thu, 15 Jun 2023, Andrew Stubbs wrote: On 15/06/2023 14:34, Richard Biener wrote: On Thu, 15 Jun 2023, Andrew Stubbs wrote: On 15/06/2023 12:06, Richard Biener wrote: On Thu, 15 Jun 2023, Andrew Stubbs wrote: On 15/06/2023 10:58, Richard Biene

Re: [PATCH 3/3] AVX512 fully masked vectorization

2023-06-15 Thread Richard Biener via Gcc-patches
On Thu, 15 Jun 2023, Andrew Stubbs wrote: > On 15/06/2023 14:34, Richard Biener wrote: > > On Thu, 15 Jun 2023, Andrew Stubbs wrote: > > > >> On 15/06/2023 12:06, Richard Biener wrote: > >>> On Thu, 15 Jun 2023, Andrew Stubbs wrote: > >>> > On 15/06/2023 10:58, Richard Biener wrote: > >

Re: [PATCH 3/3] AVX512 fully masked vectorization

2023-06-15 Thread Andrew Stubbs
On 15/06/2023 14:34, Richard Biener wrote: On Thu, 15 Jun 2023, Andrew Stubbs wrote: On 15/06/2023 12:06, Richard Biener wrote: On Thu, 15 Jun 2023, Andrew Stubbs wrote: On 15/06/2023 10:58, Richard Biener wrote: On Thu, 15 Jun 2023, Andrew Stubbs wrote: On 14/06/2023 15:29, Richard Biene

Re: [PATCH 3/3] AVX512 fully masked vectorization

2023-06-15 Thread Richard Biener via Gcc-patches
On Thu, 15 Jun 2023, Andrew Stubbs wrote: > On 15/06/2023 12:06, Richard Biener wrote: > > On Thu, 15 Jun 2023, Andrew Stubbs wrote: > > > >> On 15/06/2023 10:58, Richard Biener wrote: > >>> On Thu, 15 Jun 2023, Andrew Stubbs wrote: > >>> > On 14/06/2023 15:29, Richard Biener wrote: > >

Re: [PATCH 3/3] AVX512 fully masked vectorization

2023-06-15 Thread Andrew Stubbs
On 15/06/2023 12:06, Richard Biener wrote: On Thu, 15 Jun 2023, Andrew Stubbs wrote: On 15/06/2023 10:58, Richard Biener wrote: On Thu, 15 Jun 2023, Andrew Stubbs wrote: On 14/06/2023 15:29, Richard Biener wrote: Am 14.06.2023 um 16:27 schrieb Andrew Stubbs : On 14/06/2023 12:54, Richa

Re: [PATCH 3/3] AVX512 fully masked vectorization

2023-06-15 Thread Richard Biener via Gcc-patches
On Thu, 15 Jun 2023, Richard Biener wrote: > On Wed, 14 Jun 2023, Richard Sandiford wrote: > > > Richard Biener via Gcc-patches writes: > > > This implemens fully masked vectorization or a masked epilog for > > > AVX512 style masks which single themselves out by representing > > > each lane with

Re: [PATCH 3/3] AVX512 fully masked vectorization

2023-06-15 Thread Richard Biener via Gcc-patches
On Wed, 14 Jun 2023, Richard Sandiford wrote: > Richard Biener via Gcc-patches writes: > > This implemens fully masked vectorization or a masked epilog for > > AVX512 style masks which single themselves out by representing > > each lane with a single bit and by using integer modes for the mask >

Re: [PATCH 3/3] AVX512 fully masked vectorization

2023-06-15 Thread Richard Biener via Gcc-patches
On Thu, 15 Jun 2023, Andrew Stubbs wrote: > On 15/06/2023 10:58, Richard Biener wrote: > > On Thu, 15 Jun 2023, Andrew Stubbs wrote: > > > >> On 14/06/2023 15:29, Richard Biener wrote: > >>> > >>> > Am 14.06.2023 um 16:27 schrieb Andrew Stubbs : > > On 14/06/2023 12:54, Richard Bi

Re: [PATCH 3/3] AVX512 fully masked vectorization

2023-06-15 Thread Andrew Stubbs
On 15/06/2023 10:58, Richard Biener wrote: On Thu, 15 Jun 2023, Andrew Stubbs wrote: On 14/06/2023 15:29, Richard Biener wrote: Am 14.06.2023 um 16:27 schrieb Andrew Stubbs : On 14/06/2023 12:54, Richard Biener via Gcc-patches wrote: This implemens fully masked vectorization or a masked

Re: [PATCH 3/3] AVX512 fully masked vectorization

2023-06-15 Thread Richard Sandiford via Gcc-patches
Andrew Stubbs writes: > One > comment: building a vector constant {0, 1, 2, 3, , 63} results in a > very large entry in the constant pool and an unnecessary memory load (it > literally has to use this sequence to generate the addresses to load the > constant!) Generating the sequence via V

Re: [PATCH 3/3] AVX512 fully masked vectorization

2023-06-15 Thread Richard Biener via Gcc-patches
On Thu, 15 Jun 2023, Andrew Stubbs wrote: > On 14/06/2023 15:29, Richard Biener wrote: > > > > > >> Am 14.06.2023 um 16:27 schrieb Andrew Stubbs : > >> > >> On 14/06/2023 12:54, Richard Biener via Gcc-patches wrote: > >>> This implemens fully masked vectorization or a masked epilog for > >>> AV

Re: [PATCH 3/3] AVX512 fully masked vectorization

2023-06-15 Thread Andrew Stubbs
On 14/06/2023 15:29, Richard Biener wrote: Am 14.06.2023 um 16:27 schrieb Andrew Stubbs : On 14/06/2023 12:54, Richard Biener via Gcc-patches wrote: This implemens fully masked vectorization or a masked epilog for AVX512 style masks which single themselves out by representing each lane with

RE: [PATCH 3/3] AVX512 fully masked vectorization

2023-06-14 Thread Richard Biener via Gcc-patches
Liu, Hongtao ; > > kirill.yuk...@gmail.com > > Subject: Re: [PATCH 3/3] AVX512 fully masked vectorization > > > > > > > > > Am 14.06.2023 um 16:27 schrieb Andrew Stubbs > > : > > > > > > On 14/06/2023 12:54, Richard Biener via Gcc-patches

RE: [PATCH 3/3] AVX512 fully masked vectorization

2023-06-14 Thread Liu, Hongtao via Gcc-patches
> -Original Message- > From: Richard Biener > Sent: Wednesday, June 14, 2023 10:30 PM > To: Andrew Stubbs > Cc: gcc-patches@gcc.gnu.org; richard.sandif...@arm.com; Jan Hubicka > ; Liu, Hongtao ; > kirill.yuk...@gmail.com > Subject: Re: [PATCH 3/3] AVX512 fu

Re: [PATCH 3/3] AVX512 fully masked vectorization

2023-06-14 Thread Richard Sandiford via Gcc-patches
Richard Biener via Gcc-patches writes: > This implemens fully masked vectorization or a masked epilog for > AVX512 style masks which single themselves out by representing > each lane with a single bit and by using integer modes for the mask > (both is much like GCN). > > AVX512 is also special in

Re: [PATCH 3/3] AVX512 fully masked vectorization

2023-06-14 Thread Richard Biener via Gcc-patches
> Am 14.06.2023 um 16:27 schrieb Andrew Stubbs : > > On 14/06/2023 12:54, Richard Biener via Gcc-patches wrote: >> This implemens fully masked vectorization or a masked epilog for >> AVX512 style masks which single themselves out by representing >> each lane with a single bit and by using inte

Re: [PATCH 3/3] AVX512 fully masked vectorization

2023-06-14 Thread Andrew Stubbs
On 14/06/2023 12:54, Richard Biener via Gcc-patches wrote: This implemens fully masked vectorization or a masked epilog for AVX512 style masks which single themselves out by representing each lane with a single bit and by using integer modes for the mask (both is much like GCN). AVX512 is also s

[PATCH 3/3] AVX512 fully masked vectorization

2023-06-14 Thread Richard Biener via Gcc-patches
This implemens fully masked vectorization or a masked epilog for AVX512 style masks which single themselves out by representing each lane with a single bit and by using integer modes for the mask (both is much like GCN). AVX512 is also special in that it doesn't have any instruction to compute the