Instruction recommender tool Graph
I am trying to create a custom instruction and add it to the riscv-gnu-toolchain and spike. The above link will show the graph that I have generated using rvnewop which is basically an instruction recommender tool. So what the tool does is that it runs through my dump file and then recommends what can be done to basically optimize the code by suggesting instructions in a graphical format.
Is there any way I can model this graph which basically shows the instruction flow into a c code which then can be added to the toolchain and spike?