Hey,

I think the method that may help you here is `disassemble` in
static_inst.hh:
https://gem5.googlesource.com/public/gem5/+/refs/tags/v20.1.0.1/src/cpu/static_inst.hh#340.
I imagine, what you want to do is something like `print
(*address).disassemble()`.

It may also be worth looking into the gem5 debug flags such as `ROB`,
`Fetch` and `DynInst`. More information on how to use Debug flags can be
found here: http://www.gem5.org/documentation/learning_gem5/part2/debugging/

Kind regards,
Bobby
--
Dr. Bobby R. Bruce
Room 2235,
Kemper Hall, UC Davis
Davis,
CA, 95616

web: https://www.bobbybruce.net


On Sun, Oct 18, 2020 at 11:26 PM 1258289086--- via gem5-users <
gem5-users@gem5.org> wrote:

> When debugging gem5, I want to know what microops are in the reorder
> buffer, instruction queue or decoding queue? Is there any way to do it?
> When debugging with gdb, when I use p queuename, the display is similar to
>
>  {std::queue wrapping: std::deque with 8 elements = {{data = 0x23e5d700},
> {data = 0x23ead180}, {
>           data = 0x23e722c0}, {data = 0x2460a580}, {data = 0x37ecc00},
> {data = 0x23ef2580}, {data = 0x23eb8ec0}, {
>           data = 0x23ec2b00}}, std::queue wrapping: std::deque with 0
> elements,  std::queue wrapping: std::deque with 0 elements, std::queue
> wrapping: std::deque with 0 elements}
>
> But I want it to show specific micro-operations such as mov add.
> _______________________________________________
> 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
>
_______________________________________________
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

Reply via email to