From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:51006) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gz9sA-0005EU-S4 for qemu-devel@nongnu.org; Wed, 27 Feb 2019 19:48:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gz9s4-0000hT-2L for qemu-devel@nongnu.org; Wed, 27 Feb 2019 19:48:22 -0500 Received: from mail-pf1-x444.google.com ([2607:f8b0:4864:20::444]:38246) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gz9s0-00077U-33 for qemu-devel@nongnu.org; Wed, 27 Feb 2019 19:48:17 -0500 Received: by mail-pf1-x444.google.com with SMTP id n125so8838175pfn.5 for ; Wed, 27 Feb 2019 16:47:35 -0800 (PST) References: <20190222055950.17403-1-richard.henderson@linaro.org> <20190224233142.GC7668@umbus.fritz.box> From: Richard Henderson Message-ID: Date: Wed, 27 Feb 2019 16:47:30 -0800 MIME-Version: 1.0 In-Reply-To: <20190224233142.GC7668@umbus.fritz.box> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] tcg/ppc: Add vector opcodes List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: David Gibson , Mark Cave-Ayland Cc: qemu-devel@nongnu.org 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~