Re: How to add a custom instruction to the RISC-V GCC tools?

2024-02-06 Thread Jeff Law via Gcc
On 2/5/24 20:57, hameeza ahmed via Gcc wrote: Hello, I want to add an intrinsic in gcc toolchain that will generate the assembly instruction. As it is said I need to add a pattern to the gcc/config/riscv/riscv.md file to describe the instruction. Can you please help me. Are there any tutorial

How to add a custom instruction to the RISC-V GCC tools?

2024-02-06 Thread hameeza ahmed via Gcc
Hello, I want to add an intrinsic in gcc toolchain that will generate the assembly instruction. As it is said I need to add a pattern to the gcc/config/riscv/riscv.md file to describe the instruction. Can you please help me. Are there any tutorial that you can recommend for this?