Add custom instruction
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.

Messages In This Thread
Add custom instruction - by nayan - 04-08-2020, 04:31 PM
RE: Add custom instruction - by bluewww - 04-08-2020, 05:39 PM

Forum Jump: