riscv-software-src / riscv-tools

RISC-V Tools (ISA Simulator and Tests)
1.13k stars 446 forks source link

In the process of using riscv tool chain to generate the program, there are no instructions to generate C-type instructions, but there are C-type instructions in the generator. #356

Closed LangQingjie closed 2 years ago

LangQingjie commented 2 years ago

Why in the process of using riscv tool chain, the instruction set of my instruction is IMA, and there will be C-type instructions in the generated instructions, and no matter how the parameters are adjusted, the C-type instructions will not be removed.