Hi Jeff,

Yes, I will change soemthing in vector_csr_operand in the following
patches.

Constraints will be added that the AVL cannot be encoded as an
immediate for xtheadvecotr vsetvl.

Joshua







------------------------------------------------------------------
发件人:Jeff Law <jeffreya...@gmail.com>
发送时间:2023年12月21日(星期四) 02:16
收件人:"Jun Sha (Joshua)"<cooper.jos...@linux.alibaba.com>; 
"gcc-patches"<gcc-patches@gcc.gnu.org>
抄 送:"jim.wilson.gcc"<jim.wilson....@gmail.com>; palmer<pal...@dabbelt.com>; 
andrew<and...@sifive.com>; "philipp.tomsich"<philipp.toms...@vrull.eu>; 
"christoph.muellner"<christoph.muell...@vrull.eu>; 
"juzhe.zhong"<juzhe.zh...@rivai.ai>; Jin Ma<ji...@linux.alibaba.com>; Xianmiao 
Qu<cooper...@linux.alibaba.com>
主 题:Re: [PATCH v3 2/6] RISC-V: Split csr_operand in predicates.md for vector 
patterns.




On 12/20/23 05:27, Jun Sha (Joshua) wrote:
> This patch splits the definition of csr_operand in predicates.md.
> The newly defined vector_csr_operand has the same functionality
> as csr_operand but can only be used in vector patterns, so that
> changes for vector will not affect scalar patterns in files
> like riscv.md.
> 
> gcc/ChangeLog:
> 
>  * config/riscv/predicates.md (vector_csr_operand):
>  Define vector_csr_opeand for vector.
>  * config/riscv/vector.md:
>  Use newly defined csr_operand for vector.
So do you envision changing something in vector_csr_operand?  If not, 
then this doesn't make much sense.

Jeff

Reply via email to