conversation with jason and bobby
experimental power-gem5 branch?
Good question. If I remember correctly, they were posted to gerrit, but they were never reviewed. I believe they start here: https://gem5-review.googlesource.com/c/public/gem5/+/16604.
To get them merged, they would need to be rebased and reviewed. We would definitely appreciate someone picking up these forgotten changes and taking them over the finish line!
One of the first steps would be to create an Epic on Jira (https://gem5.atlassian.net/) to "update POWER" support" or something like that and start figuring out what needs to be done.
this is going to be a prerequisite for being able to do remote gdb
$ ./build/POWER/gem5.debug configs/example/se.py --wait-gdb -c ~/test
And then run the pygdbmi equivalents of the following gdb commands.
(gdb) file ~/test
(gdb) set step-mode on
(gdb) set remote Z-packet on
(gdb) break _start
(gdb) target remote localhost:7000
>> cross-verifying register contents between a gem5 and qemu (user-mode) runs
>> of small assembly programs covering the corner cases of each instruction.
>> In your case, this will be something like:
>> $ ./build/POWER/gem5.debug configs/example/se.py --wait-gdb -c ~/test
> that's exactly it. thank you that will save a huge amount of time.
> have you made the unit test programs available? also, you may be
Glad you found it to be useful. I have some old test programs here at
These were written a while back when I was still learning powerpc
assembly and upon a quick inspection, it seems that the stack frame
setup is semantically incorrect. As in, those stw/stwu instructions
should have been std/stdu. The test cases might still be salvageable.
> interested to know that anton blanchard wrote a
> random-program-generator, they're checked in here
Nice! I'll check it out. A colleague had also pointed me to something
similar for qemu called risu which is available at
This tool can also generate random instruction sequences and compare
the results with a real system.
On 08/02/21 10:26 am, Sandipan Das wrote:
> Hello Boris, Gabe,
> I have rebased and pushed the changes to gerrit.
> This is link to the first patch in the series:
i've pulled and pushed the develop-power branch from sandipan: