Re: Re: [PATCH] test: Fix FAIL of pr97428.c for RVV

2023-11-07 Thread juzhe.zh...@rivai.ai
Thanks a lot ! I will send V2 for Richi to review. juzhe.zh...@rivai.ai From: Andrew Stubbs Date: 2023-11-07 20:05 To: juzhe.zh...@rivai.ai; gcc-patches CC: jeffreyalaw; rguenther Subject: Re: [PATCH] test: Fix FAIL of pr97428.c for RVV On 07/11/2023 12:03, juzhe.zh...@rivai.ai wrote

Re: [PATCH] test: Fix FAIL of pr97428.c for RVV

2023-11-07 Thread Andrew Stubbs
esourcery.com> *Date:* 2023-11-07 19:44 *To:* juzhe.zh...@rivai.ai <mailto:juzhe.zh...@rivai.ai>; gcc-patches <mailto:gcc-patches@gcc.gnu.org> *CC:* jeffreyalaw <mailto:jeffreya...@gmail.com>; rguenther <mailto:rguent...@suse.de> *Subject:* Re:

Re: Re: [PATCH] test: Fix FAIL of pr97428.c for RVV

2023-11-07 Thread juzhe.zh...@rivai.ai
SLP" 4 "vect" { target { vect512 } } } } */ Tested on RVV is OK. juzhe.zh...@rivai.ai From: Andrew Stubbs Date: 2023-11-07 19:44 To: juzhe.zh...@rivai.ai; gcc-patches CC: jeffreyalaw; rguenther Subject: Re: [PATCH] test: Fix FAIL of pr97428.c for RVV On 07/11/2023 11:24, juzhe.zh...@rivai.a

Re: [PATCH] test: Fix FAIL of pr97428.c for RVV

2023-11-07 Thread Andrew Stubbs
juzhe.zh...@rivai.ai *From:* Andrew Stubbs <mailto:a...@codesourcery.com> *Date:* 2023-11-07 19:21 *To:* juzhe.zh...@rivai.ai <mailto:juzhe.zh...@rivai.ai>; gcc-patches <mailto:gcc-patches@gcc.gnu.org> *CC:* jeffreyalaw <m

Re: Re: [PATCH] test: Fix FAIL of pr97428.c for RVV

2023-11-07 Thread juzhe.zh...@rivai.ai
{ target { ! vect512 } } } } */ juzhe.zh...@rivai.ai From: juzhe.zh...@rivai.ai Date: 2023-11-07 19:23 To: ams; gcc-patches CC: jeffreyalaw; rguenther Subject: Re: Re: [PATCH] test: Fix FAIL of pr97428.c for RVV Do you mean this ? /* { dg-final { scan-tree-dump-times &qu

Re: Re: [PATCH] test: Fix FAIL of pr97428.c for RVV

2023-11-07 Thread juzhe.zh...@rivai.ai
} } } } */ Could you try again ? If it works for you, I am gonna send V2 patch to Richi. Thank you so much for help. juzhe.zh...@rivai.ai From: Andrew Stubbs Date: 2023-11-07 19:21 To: juzhe.zh...@rivai.ai; gcc-patches CC: jeffreyalaw; rguenther Subject: Re: [PATCH] test: Fix FAIL of pr97428

Re: [PATCH] test: Fix FAIL of pr97428.c for RVV

2023-11-07 Thread Andrew Stubbs
atches <mailto:gcc-patches@gcc.gnu.org> *CC:* jeffreyalaw <mailto:jeffreya...@gmail.com>; rguenther <mailto:rguent...@suse.de> *Subject:* Re: [PATCH] test: Fix FAIL of pr97428.c for RVV On 07/11/2023 10:10, juzhe.zh...@rivai.ai wrote: > So, this patch not only f

Re: Re: [PATCH] test: Fix FAIL of pr97428.c for RVV

2023-11-07 Thread juzhe.zh...@rivai.ai
} } } */ juzhe.zh...@rivai.ai From: Andrew Stubbs Date: 2023-11-07 18:59 To: juzhe.zh...@rivai.ai; gcc-patches CC: jeffreyalaw; rguenther Subject: Re: [PATCH] test: Fix FAIL of pr97428.c for RVV On 07/11/2023 10:10, juzhe.zh...@rivai.ai wrote: > So, this patch not only fixes RVV FAIL, but

Re: [PATCH] test: Fix FAIL of pr97428.c for RVV

2023-11-07 Thread Andrew Stubbs
<mailto:juzhe.zh...@rivai.ai>; gcc-patches@gcc.gnu.org <mailto:gcc-patches@gcc.gnu.org> *CC:* jeffreya...@gmail.com <mailto:jeffreya...@gmail.com>; rguent...@suse.de <mailto:rguent...@suse.de> *Subject:* Re: [PATCH] test: Fix FAIL of pr97428.c for RVV On 07/11/2

Re: Re: [PATCH] test: Fix FAIL of pr97428.c for RVV

2023-11-07 Thread juzhe.zh...@rivai.ai
So, this patch not only fixes RVV FAIL, but also fixes GCN ? juzhe.zh...@rivai.ai From: Andrew Stubbs Date: 2023-11-07 18:09 To: Juzhe-Zhong; gcc-patches@gcc.gnu.org CC: jeffreya...@gmail.com; rguent...@suse.de Subject: Re: [PATCH] test: Fix FAIL of pr97428.c for RVV On 07/11/2023 07:44

Re: [PATCH] test: Fix FAIL of pr97428.c for RVV

2023-11-07 Thread Andrew Stubbs
On 07/11/2023 07:44, Juzhe-Zhong wrote: This test shows vectorizing stmts using SLP 4 times instead of 2 for RVV. The reason is RVV has 512 bit vector. Here is comparison between RVV ans ARM SVE: https://godbolt.org/z/xc5KE5rPs But I notice AMDGCN also has 512 bit vector, seems this patch will c

[PATCH] test: Fix FAIL of pr97428.c for RVV

2023-11-06 Thread Juzhe-Zhong
This test shows vectorizing stmts using SLP 4 times instead of 2 for RVV. The reason is RVV has 512 bit vector. Here is comparison between RVV ans ARM SVE: https://godbolt.org/z/xc5KE5rPs But I notice AMDGCN also has 512 bit vector, seems this patch will cause FAIL in GCN ? Not sure whether GCN