qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] tcg/ppc: Add vector opcodes


From: Richard Henderson
Subject: Re: [Qemu-devel] [PATCH] tcg/ppc: Add vector opcodes
Date: Wed, 27 Feb 2019 16:47:30 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0

On 2/24/19 3:31 PM, David Gibson wrote:
> I have access to POWER8 and POWER9 machines, but I haven't worked with
> RISU before.  If you can give me a straightforward recipe I can try
> running the tests.

From

  https://git.linaro.org/people/peter.maydell/risu.git

First you need to generate the test cases.  It looks like the current
ppc64.risu file is fairly complete, at least to some level.  So:

mkdir ../risu-testcases-ppc64
./scripts/generate_all.sh ppc64.risu ../risu-testcases-ppc64

Then record traces from real hardware to compare against:

RISU=`pwd`/risu ./scripts/record_traces.sh ../risu-testcases-ppc64/*.bin

Now compare QEMU against hardware:

QEMU=qemu-ppc64 RISU=`pwd`/risu \
./scripts/run_risu ../risu-testcases-ppc64/*.bin

Which is all hunky dory until something fails.  At which point it's a matter of
using qemu's -d and -dfilter options judiciously, and "objdump -b binary -m
ppc64 -D foo.bin".


r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]