From patchwork Fri Jun 4 19:14:19 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 54674 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 4D53CB7D4A for ; Sat, 5 Jun 2010 05:25:18 +1000 (EST) Received: from localhost ([127.0.0.1]:52838 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OKcW3-0002Pm-BO for incoming@patchwork.ozlabs.org; Fri, 04 Jun 2010 15:25:15 -0400 Received: from [140.186.70.92] (port=37613 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OKcN0-00051L-68 for qemu-devel@nongnu.org; Fri, 04 Jun 2010 15:15:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OKcMz-0002Hf-1X for qemu-devel@nongnu.org; Fri, 04 Jun 2010 15:15:54 -0400 Received: from are.twiddle.net ([75.149.56.221]:54770) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OKcMy-0002HH-8i for qemu-devel@nongnu.org; Fri, 04 Jun 2010 15:15:52 -0400 Received: from anchor.twiddle.home (anchor.twiddle.home [172.31.0.4]) by are.twiddle.net (Postfix) with ESMTPS id F2B571069; Fri, 4 Jun 2010 12:15:48 -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 o54JFjxb007208; Fri, 4 Jun 2010 12:15:45 -0700 Received: (from rth@localhost) by anchor.twiddle.home (8.14.4/8.14.4/Submit) id o54JFhU9007207; Fri, 4 Jun 2010 12:15:43 -0700 From: Richard Henderson To: qemu-devel@nongnu.org Date: Fri, 4 Jun 2010 12:14:19 -0700 Message-Id: <1275678883-7082-12-git-send-email-rth@twiddle.net> X-Mailer: git-send-email 1.7.0.1 In-Reply-To: <1275678883-7082-1-git-send-email-rth@twiddle.net> References: <1275678883-7082-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 11/35] 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 55f0fa9..5b2134b 100644 --- a/tcg/s390/tcg-target.c +++ b/tcg/s390/tcg-target.c @@ -824,11 +824,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: case INDEX_op_ld8u_i64: /* ??? LLC (RXY format) is only present with the extended-immediate @@ -891,16 +886,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]); @@ -1077,6 +1062,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();