In the fetch function in the src/cpu/O3/fetch.impl file, when fetching instructions to the fetch queue, I saw some operations on the decoder, which made me very confused. For example, decoder[tid]->decode(thisPC), decoder[tid]->instReady(), decoder[tid]->needMoreBytes(), decoder[tid]->moreBytes(thisPC, fetchAddr, inst). Why are there so many decoding operations when fetching instructions into the fetch queue? What is the role of decoder[tid] here? What does needMoreBytes() do?
Still fetch function in the src/cpu/O3/fetch.impl file, I saw some RomMicroPC. I want to know what kind of instructions are in rom? I stepped through it many times, but I still have trouble understanding. All related answers are very welcome. Thanks _______________________________________________ gem5-users mailing list -- gem5-users@gem5.org To unsubscribe send an email to gem5-users-le...@gem5.org %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s