04-08-2020, 04:31 PM
04-08-2020, 05:39 PM
This is more a GCC than a PULP question. One way is that you study the pulp-riscv-gnu-toolchain code by looking how we added one instruction such p.lw. In general you need to add it to the gnu binutils table so that the assembler nows about it. Then you need to teach gcc about your instruction, this is much harder. There is no easy way.