OpenXiangShan / XiangShan

Open-source high-performance RISC-V processor
https://xiangshan.cc
Other
4.85k stars 663 forks source link

It looks like Xiangshan didn't commit every instruction in Rob? #3677

Closed zhangkanqi closed 1 month ago

zhangkanqi commented 1 month ago

Before start

Describe the question

Hi! When run a program with XiangShan emu, it seems Xiangshan didn't commit every instruction in Rob.

As shown in the waveform below, XiangShan commit pc=0x80601070, 0x80601080, 0x80601090, 0x80601044, 0x80601050 in Rob.

However, the commit instructions in spike are as follows:

So I wonder why there is such a difference in instruction commit behavior between XiangShan and Spike, and why XiangShan seems not to commit every instruction in the ROB.