gt;>> Jennifer Schmitz writes:
>>>>>> Thanks for the comments. I updated the patch accordingly and
>>>>>> bootstrapped and tested again.
>>>>>> Best, Jennifer
>>>>>>
>>>>>> From 9ef423f23afaeaa650d511c5
gain.
> > > >> Best, Jennifer
> > > >>
> > > >> From 9ef423f23afaeaa650d511c51bbc1a167e40b349 Mon Sep 17 00:00:00 2001
> > > >> From: Jennifer Schmitz
> > > >> Date: Wed, 7 Aug 2024 08:56:45 -0700
> > > &g
Mon Sep 17 00:00:00 2001
> > >> From: Jennifer Schmitz
> > >> Date: Wed, 7 Aug 2024 08:56:45 -0700
> > >> Subject: [PATCH] PR tree-optimization/101390: Vectorize modulo operator
> > >>
> > >> This patch adds a new vectorization pattern t
tch accordingly and bootstrapped
> >> and tested again.
> >> Best, Jennifer
> >>
> >> From 9ef423f23afaeaa650d511c51bbc1a167e40b349 Mon Sep 17 00:00:00 2001
> >> From: Jennifer Schmitz
> >> Date: Wed, 7 Aug 2024 08:56:45 -0700
> >>
t;> Best, Jennifer
>>
>> From 9ef423f23afaeaa650d511c51bbc1a167e40b349 Mon Sep 17 00:00:00 2001
>> From: Jennifer Schmitz
>> Date: Wed, 7 Aug 2024 08:56:45 -0700
>> Subject: [PATCH] PR tree-optimization/101390: Vectorize modulo operator
>>
>> This patch adds a new vectoriz
700
> Subject: [PATCH] PR tree-optimization/101390: Vectorize modulo operator
>
> This patch adds a new vectorization pattern that detects the modulo
> operation where the second operand is a variable.
> It replaces the statement by division, multiplication, and subtraction.
>
>
cog_mod_var_pattern): Add new pattern.
>>
>> gcc/testsuite/
>> PR tree-optimization/101390
>> * gcc.dg/vect/vect-mod-var.c: New test.
>>
>> From 15e7abe690ba4f2702b02b29a3198a3309aeb48e Mon Sep 17 00:00:00 2001
>> From: Jennifer Schmitz
>> Date: Wed,
* gcc.dg/vect/vect-mod-var.c: New test.
>
> From 15e7abe690ba4f2702b02b29a3198a3309aeb48e Mon Sep 17 00:00:00 2001
> From: Jennifer Schmitz
> Date: Wed, 7 Aug 2024 08:56:45 -0700
> Subject: [PATCH] PR tree-optimization/101390: Vectorize modulo operator
>
> This patch adds a
This patch adds a new vectorization pattern that detects the modulo
operation where the second operand is a variable.
It replaces the statement by division, multiplication, and subtraction.
The patch was bootstrapped and regtested on aarch64-linux-gnu, no regression.
Ok for mainline?
Signed-off-b