Re: [PATCH] RISC-V: Fix constraint bug for binary operation

2023-02-02 Thread Kito Cheng via Gcc-patches
committed, thanks! On Wed, Feb 1, 2023 at 9:48 AM wrote: > > From: Ju-Zhe Zhong > > Current constraint configuration will generate: > vadd.vv v0,v24,v25,v0.t > vsll.vx v0,v24,a5,v0.t > > They are incorrect according to RVV ISA. > This patch fix this obvious issue. > > gcc/ChangeLog: > >

[PATCH] RISC-V: Fix constraint bug for binary operation

2023-01-31 Thread juzhe . zhong
From: Ju-Zhe Zhong Current constraint configuration will generate: vadd.vv v0,v24,v25,v0.t vsll.vx v0,v24,a5,v0.t They are incorrect according to RVV ISA. This patch fix this obvious issue. gcc/ChangeLog: * config/riscv/vector-iterators.md (sll.vi): Fix constraint bug. (sll.vv)