Re: [PATCH] RISC-V: Add csrr vlenb instruction.

2022-08-31 Thread Kito Cheng via Gcc-patches
Committed. On Tue, Aug 30, 2022 at 2:21 PM wrote: > > From: zhongjuzhe > > gcc/ChangeLog: > > * config/riscv/riscv.cc (riscv_const_insns): Add cost of poly_int. > (riscv_output_move): Add csrr vlenb assembly. > * config/riscv/riscv.md (move_type): Add csrr vlenb type. >

[PATCH] RISC-V: Add csrr vlenb instruction.

2022-08-29 Thread juzhe . zhong
From: zhongjuzhe gcc/ChangeLog: * config/riscv/riscv.cc (riscv_const_insns): Add cost of poly_int. (riscv_output_move): Add csrr vlenb assembly. * config/riscv/riscv.md (move_type): Add csrr vlenb type. (ext): New attribute. (ext_enabled): Ditto. (