Re: Re: [PATCH] test: Fix FAIL of vect-sdiv-pow2-1.c for RVV test: Fix FAIL of vect-sdiv-pow2-1.c for RVV#

2023-11-07 Thread 钟居哲
22:36 To: 钟居哲 CC: gcc-patches; Jeff Law Subject: Re: Re: [PATCH] test: Fix FAIL of vect-sdiv-pow2-1.c for RVV test: Fix FAIL of vect-sdiv-pow2-1.c for RVV# On Tue, 7 Nov 2023, ??? wrote: > Hi, Richi. > > We don't have explicit SDIV_POW2 pattern but we still want to test it to mak

Re: Re: [PATCH] test: Fix FAIL of vect-sdiv-pow2-1.c for RVV test: Fix FAIL of vect-sdiv-pow2-1.c for RVV#

2023-11-07 Thread Richard Biener
3-11-07 21:45 > To: Juzhe-Zhong > CC: gcc-patches; jeffreyalaw > Subject: Re: [PATCH] test: Fix FAIL of vect-sdiv-pow2-1.c for RVV test: Fix > FAIL of vect-sdiv-pow2-1.c for RVV# > On Tue, 7 Nov 2023, Juzhe-Zhong wrote: > > > RVV didn't explictly enable DIV_POW2 optab but we

Re: Re: [PATCH] test: Fix FAIL of vect-sdiv-pow2-1.c for RVV test: Fix FAIL of vect-sdiv-pow2-1.c for RVV#

2023-11-07 Thread 钟居哲
s "vectorized 1 loop" 18 "vect" } } */ juzhe.zh...@rivai.ai From: 钟居哲 Date: 2023-11-07 22:02 To: rguenther CC: gcc-patches; Jeff Law Subject: Re: Re: [PATCH] test: Fix FAIL of vect-sdiv-pow2-1.c for RVV test: Fix FAIL of vect-sdiv-pow2-1.c for RVV# Oh. I see. Is it reasonable adapt

Re: Re: [PATCH] test: Fix FAIL of vect-sdiv-pow2-1.c for RVV test: Fix FAIL of vect-sdiv-pow2-1.c for RVV#

2023-11-07 Thread 钟居哲
Richard Biener Date: 2023-11-07 21:45 To: Juzhe-Zhong CC: gcc-patches; jeffreyalaw Subject: Re: [PATCH] test: Fix FAIL of vect-sdiv-pow2-1.c for RVV test: Fix FAIL of vect-sdiv-pow2-1.c for RVV# On Tue, 7 Nov 2023, Juzhe-Zhong wrote: > RVV didn't explictly enable DIV_POW2 optab but we cen v

Re: Re: [PATCH] test: Fix FAIL of vect-sdiv-pow2-1.c for RVV test: Fix FAIL of vect-sdiv-pow2-1.c for RVV#

2023-11-07 Thread 钟居哲
: gcc-patches; jeffreyalaw Subject: Re: [PATCH] test: Fix FAIL of vect-sdiv-pow2-1.c for RVV test: Fix FAIL of vect-sdiv-pow2-1.c for RVV# On Tue, 7 Nov 2023, Juzhe-Zhong wrote: > RVV didn't explictly enable DIV_POW2 optab but we cen vectorize it. > We should check pattern recognition ins

Re: [PATCH] test: Fix FAIL of vect-sdiv-pow2-1.c for RVV test: Fix FAIL of vect-sdiv-pow2-1.c for RVV#

2023-11-07 Thread Richard Biener
On Tue, 7 Nov 2023, Juzhe-Zhong wrote: > RVV didn't explictly enable DIV_POW2 optab but we cen vectorize it. > We should check pattern recognition instead of explicit pattern check. But I see proc check_effective_target_vect_sdiv_pow2_si {} { return [expr { ([istarget aarch64*-*-*]

Re: Re: [PATCH] test: Fix FAIL of vect-sdiv-pow2-1.c for RVV test: Fix FAIL of vect-sdiv-pow2-1.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:53 To: Juzhe-Zhong; gcc-patches CC: rguenther Subject: Re: [PATCH] test: Fix FAIL of vect-sdiv-pow2-1.c for RVV test: Fix FAIL of vect-sdiv-pow2-1.c for RVV# On 11/6

Re: [PATCH] test: Fix FAIL of vect-sdiv-pow2-1.c for RVV test: Fix FAIL of vect-sdiv-pow2-1.c for RVV#

2023-11-06 Thread Jeff Law
On 11/6/23 20:50, Juzhe-Zhong wrote: RVV didn't explictly enable DIV_POW2 optab but we cen vectorize it. We should check pattern recognition instead of explicit pattern check. gcc/testsuite/ChangeLog: * gcc.dg/vect/vect-sdiv-pow2-1.c: Fix dump check. Similar to the sad test -- OK onc