Re: Re: [PATCH] testsuite: Add extra RISC-V options so that -fprefetch-loop-arrays works

2022-07-28 Thread jiawei
> -原始邮件- > 发件人: "Richard Biener" > 发送时间: 2022-07-28 15:45:27 (星期四) > 收件人: jiawei > 抄送: gcc-patches@gcc.gnu.org, ja...@redhat.com, pal...@rivosinc.com, kito.ch...@gmail.com, jim.wilson@gmail.com, wuwei2...@iscas.ac.cn > 主题: Re: [PATCH] testsuite: Add

Re: [PATCH] testsuite: Add extra RISC-V options so that -fprefetch-loop-arrays works

2022-07-28 Thread Richard Biener via Gcc-patches
On Thu, 28 Jul 2022, jiawei wrote: > This patch adds the additional options on RISC-V target. > "-fprefetch-loop-arrays" option needs enable prefetch instruction, > for RISC-V that contained in "zicbop" extension. > Use "-march" with "zicbop" will enable this feature. OK. Note -fprefetch-loop-ar

[PATCH] testsuite: Add extra RISC-V options so that -fprefetch-loop-arrays works

2022-07-27 Thread jiawei
This patch adds the additional options on RISC-V target. "-fprefetch-loop-arrays" option needs enable prefetch instruction, for RISC-V that contained in "zicbop" extension. Use "-march" with "zicbop" will enable this feature. gcc/testsuite/ChangeLog: * gcc.dg/pr106397.c: New dg-additional