From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60445) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cCqFW-0002wc-Qs for qemu-devel@nongnu.org; Fri, 02 Dec 2016 10:59:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cCqFT-0004vy-O6 for qemu-devel@nongnu.org; Fri, 02 Dec 2016 10:59:46 -0500 Received: from mail-wm0-x22e.google.com ([2a00:1450:400c:c09::22e]:35036) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cCqFT-0004vp-I1 for qemu-devel@nongnu.org; Fri, 02 Dec 2016 10:59:43 -0500 Received: by mail-wm0-x22e.google.com with SMTP id a197so21075924wmd.0 for ; Fri, 02 Dec 2016 07:59:43 -0800 (PST) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= Date: Fri, 2 Dec 2016 15:59:26 +0000 Message-Id: <20161202155935.3130-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [Qemu-devel] [RISU PATCH 0/9] Record/playback patches List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: peter.maydell@linaro.org Cc: qemu-devel@nongnu.org, joserz@linux.vnet.ibm.com, =?UTF-8?q?Alex=20Benn=C3=A9e?= Hi Peter, I've been cleaning things up so I thought I should re-post my current state. These all apply to the current master. I had to regenerate all the risu binaries as I'd used --no-fp for a bunch of them originally which was causing failures. I'm not sure if this is due to the FP registers not being cleared by the kernel if FP isn't used - but we certainly don't do anything to them except when set by the memory/context blocks (without --no-fp). This led me to write the 3 noddy scripts included here. The record/playback is still aarch64 only. I'm open to ideas to do this more cleanly otherwise if anyone has access to some PPC hardware I can port the record/playback code to the other architectures. Feel free to cherry-pick any of the minor patches as you wish ;-) Alex Bennée (9): risu: a bit more verbosity when running aarch64: add hand-coded risu skeleton for directed testing risu: add simple trace and replay support risu: add support compressed tracefiles risu_aarch64: it's -> it is risugen: remove grocer's apostrophe from REs new: generate_all.sh script new: record_traces.sh helper script new: run_risu.sh script Makefile | 10 +- aarch64_simd_handcoded.risu.S | 208 ++++++++++++++++++++++++++++++++++++++++++ configure | 55 +++++++++++ generate_all.sh | 55 +++++++++++ record_traces.sh | 16 ++++ risu.c | 116 ++++++++++++++++++----- risu.h | 15 +++ risu_aarch64.c | 89 +++++++++++++++++- risu_reginfo_aarch64.h | 7 ++ risugen | 2 +- run_risu.sh | 51 +++++++++++ 11 files changed, 598 insertions(+), 26 deletions(-) create mode 100644 aarch64_simd_handcoded.risu.S create mode 100755 generate_all.sh create mode 100755 record_traces.sh create mode 100755 run_risu.sh -- 2.10.2