Re: [PATCH] RISC-V: Refine reduction RA constraint according to RVV ISA

2023-04-21 Thread Jeff Law via Gcc-patches
On 3/13/23 03:05, juzhe.zh...@rivai.ai wrote: From: Ju-Zhe Zhong According to RVV ISA: 14. Vector Reduction Operations "The destination vector register can overlap the source operands, including the mask register." gcc/ChangeLog: * config/riscv/vector.md: Refine RA constraint.

Re: Re: [PATCH] RISC-V: Refine reduction RA constraint according to RVV ISA

2023-03-14 Thread juzhe.zhong
zhong; gcc-patches CC: kito.cheng Subject: Re: [PATCH] RISC-V: Refine reduction RA constraint according to RVV ISA On 3/13/23 03:05, juzhe.zh...@rivai.ai wrote: > From: Ju-Zhe Zhong > > According to RVV ISA: > 14. Vector Reduction Operations > > "The destination vector regi

Re: [PATCH] RISC-V: Refine reduction RA constraint according to RVV ISA

2023-03-14 Thread Jeff Law via Gcc-patches
On 3/13/23 03:05, juzhe.zh...@rivai.ai wrote: From: Ju-Zhe Zhong According to RVV ISA: 14. Vector Reduction Operations "The destination vector register can overlap the source operands, including the mask register." gcc/ChangeLog: * config/riscv/vector.md: Refine RA constraint.

[PATCH] RISC-V: Refine reduction RA constraint according to RVV ISA

2023-03-13 Thread juzhe . zhong
From: Ju-Zhe Zhong According to RVV ISA: 14. Vector Reduction Operations "The destination vector register can overlap the source operands, including the mask register." gcc/ChangeLog: * config/riscv/vector.md: Refine RA constraint. --- gcc/config/riscv/vector.md | 96 +++