Re: [PATCH] test: Fix XPASS of bb-slp-43.c for RVV

2023-11-06 Thread Jeff Law
On 11/6/23 15:35, Juzhe-Zhong wrote: RVV is variable length vector but also has 256 bit VLS mode vector. This test is vectorized as: f: vsetivlizero,8,e32,m2,ta,ma vle32.v v2,0(a0) vmv.v.i v4,1 vle16.v v1,0(a1) vmseq.vvv0,v2,v4

Re: [PATCH] test: Fix XPASS of bb-slp-43.c for RVV

2023-11-06 Thread Jeff Law
On 11/6/23 20:30, juzhe.zh...@rivai.ai wrote: >> So will this create a FAIL if someone runs the testsuite with the autovec preference set to scalable? No, it won't. Since it is always -fno-vect-cost-model. When a scalable vector doesn't have 256bit vector,  it always XFAIL, for example, AR

Re: Re: [PATCH] test: Fix XPASS of bb-slp-43.c for RVV

2023-11-06 Thread juzhe.zh...@rivai.ai
e the fallbacks to VLS still >> available when we prefer scalable vectors? Yes. since it is -fno-vect-cost-model. juzhe.zh...@rivai.ai From: Jeff Law Date: 2023-11-07 11:23 To: Juzhe-Zhong; gcc-patches CC: rguenther Subject: Re: [PATCH] test: Fix XPASS of bb-slp-43.c for RVV On 11/6/23

Re: Re: [PATCH] test: Fix XPASS of bb-slp-43.c for RVV

2023-11-06 Thread juzhe.zh...@rivai.ai
Thanks Jeff. Just finish bootstrap +regression passed. Committed. juzhe.zh...@rivai.ai From: Jeff Law Date: 2023-11-07 11:49 To: juzhe.zh...@rivai.ai; gcc-patches CC: rguenther Subject: Re: [PATCH] test: Fix XPASS of bb-slp-43.c for RVV On 11/6/23 20:30, juzhe.zh...@rivai.ai wrote