: Tamar Christina ; Jennifer Schmitz
>> ; gcc-patches@gcc.gnu.org; Kyrylo Tkachov
>>
>> Subject: Re: [PATCH] [PR113816] AArch64: Use SVE bit op reduction for vector
>> reductions
>>
>>
>>
>>> On 2 Oct 2024, at 13:43, Richard Sandiford
>>
> -Original Message-
> >>> From: Richard Sandiford
> >>> Sent: Tuesday, October 1, 2024 12:20 PM
> >>> To: Jennifer Schmitz
> >>> Cc: gcc-patches@gcc.gnu.org; Kyrylo Tkachov
>
> >>> Subject: Re: [PATCH] [PR11
uesday, October 1, 2024 12:20 PM
>>> To: Jennifer Schmitz
>>> Cc: gcc-patches@gcc.gnu.org; Kyrylo Tkachov
>>> Subject: Re: [PATCH] [PR113816] AArch64: Use SVE bit op reduction for vector
>>> reductions
>>>
>>> Jennifer Schmitz writes:
>
Tamar Christina writes:
> Hi Jennifer,
>
>> -Original Message-
>> From: Richard Sandiford
>> Sent: Tuesday, October 1, 2024 12:20 PM
>> To: Jennifer Schmitz
>> Cc: gcc-patches@gcc.gnu.org; Kyrylo Tkachov
>> Subject: Re: [PATCH] [PR113816] AA
Hi Jennifer,
> -Original Message-
> From: Richard Sandiford
> Sent: Tuesday, October 1, 2024 12:20 PM
> To: Jennifer Schmitz
> Cc: gcc-patches@gcc.gnu.org; Kyrylo Tkachov
> Subject: Re: [PATCH] [PR113816] AArch64: Use SVE bit op reduction for vector
> reductions
Jennifer Schmitz writes:
> This patch implements the optabs reduc_and_scal_,
> reduc_ior_scal_, and reduc_xor_scal_ for Advanced SIMD
> integers for TARGET_SVE in order to use the SVE instructions ANDV, ORV, and
> EORV for fixed-width bitwise reductions.
> For example, the test case
>
> int32_t fo
This patch implements the optabs reduc_and_scal_,
reduc_ior_scal_, and reduc_xor_scal_ for Advanced SIMD
integers for TARGET_SVE in order to use the SVE instructions ANDV, ORV, and
EORV for fixed-width bitwise reductions.
For example, the test case
int32_t foo (int32_t *a)
{
int32_t b = -1;
fo