On Fri, Nov 17, 2023 at 1:12 AM liuhongt <hongtao....@intel.com> wrote: > > x86 backend support reduc_{and,ior,xor>_scal_m for vector integer > modes. > > Ok for trunk?
OK > gcc/testsuite/ChangeLog: > > * lib/target-supports.exp (vect_logical_reduc): Add i?86-*-* > and x86_64-*-*. > --- > gcc/testsuite/lib/target-supports.exp | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/gcc/testsuite/lib/target-supports.exp > b/gcc/testsuite/lib/target-supports.exp > index b6a2e4fd096..30dd39508f8 100644 > --- a/gcc/testsuite/lib/target-supports.exp > +++ b/gcc/testsuite/lib/target-supports.exp > @@ -9257,7 +9257,8 @@ proc check_effective_target_vect_call_roundf { } { > proc check_effective_target_vect_logical_reduc { } { > return [expr { [check_effective_target_aarch64_sve] > || [istarget amdgcn-*-*] > - || [check_effective_target_riscv_v] }] > + || [check_effective_target_riscv_v] > + || [istarget i?86-*-*] || [istarget x86_64-*-*]}] > } > > # Return 1 if the target supports the fold_extract_last optab. > -- > 2.31.1 >