[gem5-users] memory instructions detected as branch: O3CPU SE MODE

2020-12-14 Thread Francisco Carlos via gem5-users
Hello everyone, I detected an unexpected behavior in the fetch stage of O3CPU. Every time a memory instruction is fetched, it is detected as a branch, as we can see below. FullO3CPU: Ticking main, FullO3CPU. 203000: system.cpu.fetch: Running stage. 203000: system.cpu.fetch: Attempting to fe

[gem5-users] Re: memory instructions detected as branch: O3CPU SE MODE

2020-12-14 Thread Hossein Golestani via gem5-users
Hi Francisco, I encountered the same issue a while back (look here ). It seems that at the O3 fetch stage, all RISC-V compressed instructions are treated as branches. A dirty solution that worked for me was adding the following if sta