conversation with jason and bobby experimental power-gem5 branch? https://github.com/power-gem5/gem5/tree/gem5-experimental 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
https://github.com/sandip4n/gem5/tree/develop-power
from sandipan: $ ./build/POWER/gem5.debug configs/example/se.py --wait-gdb -c ~/test And then run the pygdbmi equivalents of the following gdb commands. $ gdb (gdb) file ~/test (gdb) set step-mode on (gdb) set remote Z-packet on (gdb) break _start (gdb) target remote localhost:7000 (gdb) nexti
>> 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 https://bitbucket.org/sandip4n/gem5-powerpc64le-tests 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 > https://github.com/antonblanchard/microwatt/tree/master/tests > Nice! I'll check it out. A colleague had also pointed me to something similar for qemu called risu which is available at https://git.linaro.org/people/peter.maydell/risu.git This tool can also generate random instruction sequences and compare the results with a real system.
CC: Luke 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: > https://gem5-review.googlesource.com/c/public/gem5/+/40880 > >
https://www.mail-archive.com/gem5-dev@gem5.org/msg37638.html
i've pulled and pushed the develop-power branch from sandipan: https://github.com/sandip4n/gem5/tree/develop-power https://git.libre-soc.org/?p=gem5.git;a=tree;h=refs/heads/develop-power;hb=refs/heads/develop-power