On Wed, Apr 7, 2021 at 1:25 AM Ορφέας Περδικούρης <el15081@xxxxxxxxxxxxxxx> wrote: > I am looking for a complete guide for modifying the binutils files in > order to add custom instructions to riscv.I have installed a riscv > toolchain.After googling i found some pages suggest manualy modifying > the binutils files.Are there some specific steps to follow ? > There is no complete guide anywhere. However, this question has been asked and answered multiple times on the RISC-V International (riscv.org) sw-dev mailing list and in github.coml/riscv/riscv-gnu-toolchain issues. See for instance https://groups.google.com/a/groups.riscv.org/g/sw-dev/c/sL_OHXYj3LY/m/Gsm6sBc9BQAJ and https://github.com/riscv/riscv-gnu-toolchain/issues/837 Jim