Received: from eggs.gnu.org ([2001:4830:134:3::10]:51235) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c2i5e-0001De-AX for qemu-devel@nongnu.org; Fri, 04 Nov 2016 13:15:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c2i5b-0000kU-3t for qemu-devel@nongnu.org; Fri, 04 Nov 2016 13:15:42 -0400 Received: from mail-pf0-x231.google.com ([2607:f8b0:400e:c00::231]:34643) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c2i5a-0000ij-R7 for qemu-devel@nongnu.org; Fri, 04 Nov 2016 13:15:39 -0400 Received: by mail-pf0-x231.google.com with SMTP id n85so54969007pfi.1 for ; Fri, 04 Nov 2016 10:15:38 -0700 (PDT) Sender: Richard Henderson From: Richard Henderson Date: Fri, 4 Nov 2016 11:15:27 -0600 Message-Id: <1478279729-21524-1-git-send-email-rth@twiddle.net> Subject: [Qemu-devel] [PATCH 0/2] target-m68k tweaks List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: laurent@vivier.eu Here's the adjustment to movem that I promised earlier. Do you agree it's a bit cleaner? Also, I'll note that we have to catch the two illegal addressing modes somehow. This is one way; one could also add entries to register_m68k_insns that specifically cover the modes. (Noting, for example, that EXTSB already overlaps MOVEM via the illegal addressing mode 000 (data register direct)). Also, we should not abort qemu on illegal insn. We should signal the exception normally, which will get propagated appropriately. In the case of m68k-linux-user, via forced SIGILL. For m68k-softmmu, via exception into the kernel, which can then kill the user process. r~ Laurent Vivier (1): target-m68k: implement 680x0 movem Richard Henderson (1): target-m68k: Do not cpu_abort on undefined insns target-m68k/translate.c | 138 +++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 112 insertions(+), 26 deletions(-) -- 2.7.4