riscv-software-src / riscv-isa-sim

Spike, a RISC-V ISA Simulator
Other
2.45k stars 861 forks source link

Can Spike support rocc instrcution multi issue? #704

Open xiaolingyi opened 3 years ago

xiaolingyi commented 3 years ago

I know in spike, there is a rocc port to support riscv custom extension instructions.But if this rocc port can support issue several extension instructions at a time?If can, how to program this function? Could someone offer me some help?Any information is appreciated.Thanks a lot!

aswaterman commented 3 years ago

Spike does not model any particular microarchitecture. Instructions are always executed one at a time.

xiaolingyi commented 3 years ago

Oh,thank you.But I wonder if I write a particular microarchitecture that support muti-issue and it can support riscv custom extension instructions through a rocc port, so can I find some methods to get a certain amount of custom instructions?