From patchwork Thu May 27 20:46:12 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 53839 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id ECBD4B7D1B for ; Fri, 28 May 2010 08:25:44 +1000 (EST) Received: from localhost ([127.0.0.1]:42906 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OHkl7-0006xS-00 for incoming@patchwork.ozlabs.org; Thu, 27 May 2010 17:36:57 -0400 Received: from [140.186.70.92] (port=56110 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OHjzG-00027Z-6x for qemu-devel@nongnu.org; Thu, 27 May 2010 16:47:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OHjzE-0005My-SY for qemu-devel@nongnu.org; Thu, 27 May 2010 16:47:30 -0400 Received: from are.twiddle.net ([75.149.56.221]:51227) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OHjzE-0005Ml-Hu for qemu-devel@nongnu.org; Thu, 27 May 2010 16:47:28 -0400 Received: from anchor.twiddle.home (anchor.twiddle.home [172.31.0.4]) by are.twiddle.net (Postfix) with ESMTPS id 0165147E; Thu, 27 May 2010 13:47:28 -0700 (PDT) Received: from anchor.twiddle.home (anchor.twiddle.home [127.0.0.1]) by anchor.twiddle.home (8.14.4/8.14.4) with ESMTP id o4RKlRto030957; Thu, 27 May 2010 13:47:27 -0700 Received: (from rth@localhost) by anchor.twiddle.home (8.14.4/8.14.4/Submit) id o4RKlQc4030956; Thu, 27 May 2010 13:47:26 -0700 From: Richard Henderson To: qemu-devel@nongnu.org Date: Thu, 27 May 2010 13:46:12 -0700 Message-Id: <1274993204-30766-31-git-send-email-rth@twiddle.net> X-Mailer: git-send-email 1.7.0.1 In-Reply-To: <1274993204-30766-1-git-send-email-rth@twiddle.net> References: <1274993204-30766-1-git-send-email-rth@twiddle.net> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) Cc: agraf@suse.de, aurelien@aurel32.net Subject: [Qemu-devel] [PATCH 30/62] tcg-s390: Tidy unimplemented opcodes. X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Signed-off-by: Richard Henderson --- tcg/s390/tcg-target.c | 25 ++++++++++--------------- 1 files changed, 10 insertions(+), 15 deletions(-) diff --git a/tcg/s390/tcg-target.c b/tcg/s390/tcg-target.c index 97ac66d..cf70cc2 100644 --- a/tcg/s390/tcg-target.c +++ b/tcg/s390/tcg-target.c @@ -911,11 +911,6 @@ static inline void tcg_out_op(TCGContext *s, TCGOpcode opc, } break; - case INDEX_op_jmp: - /* XXX */ - tcg_abort(); - break; - case INDEX_op_ld8u_i32: tcg_out_ldst(s, 0, RXY_LLC, args[0], args[1], args[2]); break; @@ -977,16 +972,6 @@ static inline void tcg_out_op(TCGContext *s, TCGOpcode opc, tcg_out_st(s, TCG_TYPE_I64, args[0], args[1], args[2]); break; - case INDEX_op_mov_i32: - /* XXX */ - tcg_abort(); - break; - - case INDEX_op_movi_i32: - /* XXX */ - tcg_abort(); - break; - case INDEX_op_add_i32: if (const_args[2]) { tcg_out_insn(s, RI, AHI, args[0], args[2]); @@ -1234,6 +1219,16 @@ static inline void tcg_out_op(TCGContext *s, TCGOpcode opc, tcg_out_qemu_st(s, args, LD_UINT64); break; + case INDEX_op_mov_i32: + case INDEX_op_mov_i64: + case INDEX_op_movi_i32: + case INDEX_op_movi_i64: + /* These are always emitted by TCG directly. */ + case INDEX_op_jmp: + /* This one is obsolete and never emitted. */ + tcg_abort(); + break; + default: fprintf(stderr,"unimplemented opc 0x%x\n",opc); tcg_abort();