From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:58631) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UfQbJ-0000G2-Dc for qemu-devel@nongnu.org; Thu, 23 May 2013 04:10:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UfQbE-0005dH-FP for qemu-devel@nongnu.org; Thu, 23 May 2013 04:10:17 -0400 Received: from lhrrgout.huawei.com ([194.213.3.17]:48147) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UfQbE-0005ct-7i for qemu-devel@nongnu.org; Thu, 23 May 2013 04:10:12 -0400 Message-ID: <519DCEC8.8060000@huawei.com> Date: Thu, 23 May 2013 10:09:44 +0200 From: Claudio Fontana MIME-Version: 1.0 References: <5141F36E.10004@huawei.com> In-Reply-To: <5141F36E.10004@huawei.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] [PATCH 0/4] ARM aarch64 TCG target VERSION 2 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: Paolo Bonzini , qemu-devel@nongnu.org, Richard Henderson This series implements preliminary support for the ARM aarch64 TCG target. Limitations of this initial implementation (TODOs) include: * missing TLB lookup in qemu_ld/st [C helpers always called]. An incremental patch, which requires this series, is coming up from teammate Jani Kokkonen to implement this. * most optional opcodes are not implemented yet (only rotation done). * CONFIG_SOFTMMU only * only little endian qemu targets supported Tested running on a x86-64 physical machine running Foundation v8, running a linux 3.8.0-rc6+ minimal host system based on linaro v8 image 201301271620 for user space. Tested guests: arm v5 test image, i386 FreeDOS test image, i386 linux test image, all from qemu-devel testing page. Also tested on x86-64/linux built with buildroot, and on arm v7/linux built with buildroot as well. checkpatch emits a false positive for the last patch regarding missing braces which are actually there. I suspect it is because of a comment. checkpatch also complains about the labeled statements in the switch, which I think are in fact good for readability. Claudio Fontana (4): include/elf.h: add aarch64 ELF machine and relocs tcg/aarch64: implement new TCG target for aarch64 configure: permit compilation on arm aarch64 tcg/aarch64: implement more low level ops in preparation of tlb lookup configure | 8 + include/elf.h | 129 +++++ include/exec/exec-all.h | 5 +- tcg/aarch64/tcg-target.c | 1203 ++++++++++++++++++++++++++++++++++++++++++++++ tcg/aarch64/tcg-target.h | 99 ++++ translate-all.c | 2 + 6 files changed, 1445 insertions(+), 1 deletion(-) create mode 100644 tcg/aarch64/tcg-target.c create mode 100644 tcg/aarch64/tcg-target.h -- 1.8.1