[gem5-users] Re: Unrecognized register class when using the "Exec" debug flag

2021-12-01 Thread Matt Sinclair via gem5-users
Thanks Gabe. Good catch about the actual value -- I just saw a negative number and assumed -1, whoops. Based on what Nirmit is seeing, it seems like HINT_NOP or MOV_R_I must be the instruction causing the fault, but yeah a backtrace will probably help confirm. Nirmit, can you please try running

[gem5-users] Re: Variable Meanings in ISA files

2021-12-01 Thread Gabe Black via gem5-users
Hi Jason. The instruction definitions in gem5 can be quite complex, and it's unlikely you'll find a lot of information about specific details like this through Google. Probably a good place to start is to try to understand how the ISA description files work in general, since that will give you more

[gem5-users] Re: Unrecognized register class when using the "Exec" debug flag

2021-12-01 Thread Gabe Black via gem5-users
I realize this is probably a hard question to answer with Exec being broken, but do you know what instruction is causing the problem? HINT_NOP? Probably the first thing that someone should do (if they haven't already) is to run this under gdb and see what the backtrace looks like, since that would

[gem5-users] Re: Unrecognized register class when using the "Exec" debug flag

2021-12-01 Thread Matt Sinclair via gem5-users
Hi Gabe, I was trying to dig through the RegClass code earlier to figure out why the value is -1 for this instruction, and the only thing that I can think of is HINT_NOP needs a RegClass value set for it, but it isn't set for some reason (which is not 100% clear to me). You know this code much be

[gem5-users] Unrecognized register class when using the "Exec" debug flag

2021-12-01 Thread Nirmit Jallawar via gem5-users
Hi all, I was trying to run a gem5 simulation using the O3CPU but encountered problems with gem5 "panic" when running with the "Exec" debug flags enabled. I have built gem5 for the x86 ISA, and am using the stable branch. The full log can be found in the zip linked below (crash_debug_log). The e