From mboxrd@z Thu Jan 1 00:00:00 1970 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 From: Richard Henderson Date: Fri, 4 Jun 2010 12:14:19 -0700 Message-Id: <1275678883-7082-12-git-send-email-rth@twiddle.net> In-Reply-To: <1275678883-7082-1-git-send-email-rth@twiddle.net> References: <1275678883-7082-1-git-send-email-rth@twiddle.net> Subject: [Qemu-devel] [PATCH 11/35] tcg-s390: Tidy unimplemented opcodes. List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: agraf@suse.de, aurelien@aurel32.net 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(); -- 1.7.0.1