From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40045) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WPcQg-0006Ge-RC for qemu-devel@nongnu.org; Mon, 17 Mar 2014 14:38:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WPcQb-00020K-0P for qemu-devel@nongnu.org; Mon, 17 Mar 2014 14:38:30 -0400 Received: from mail-qc0-x236.google.com ([2607:f8b0:400d:c01::236]:60743) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WPcQa-0001zY-Sd for qemu-devel@nongnu.org; Mon, 17 Mar 2014 14:38:24 -0400 Received: by mail-qc0-f182.google.com with SMTP id e16so6492799qcx.13 for ; Mon, 17 Mar 2014 11:38:24 -0700 (PDT) Sender: Richard Henderson From: Richard Henderson Date: Mon, 17 Mar 2014 11:37:51 -0700 Message-Id: <1395081476-6038-10-git-send-email-rth@twiddle.net> In-Reply-To: <1395081476-6038-1-git-send-email-rth@twiddle.net> References: <1395081476-6038-1-git-send-email-rth@twiddle.net> Subject: [Qemu-devel] [PATCH 09/14] tcg-sparc: Don't handle mov/movi in tcg_out_op List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: blauwirbel@gmail.com, aurelien@aurel32.net Signed-off-by: Richard Henderson --- tcg/sparc/tcg-target.c | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/tcg/sparc/tcg-target.c b/tcg/sparc/tcg-target.c index 3165fe6..b70d9b5 100644 --- a/tcg/sparc/tcg-target.c +++ b/tcg/sparc/tcg-target.c @@ -1181,9 +1181,6 @@ static inline void tcg_out_op(TCGContext *s, TCGOpcode opc, const TCGArg *args, tcg_out_bpcc(s, COND_A, BPCC_PT, args[0]); tcg_out_nop(s); break; - case INDEX_op_movi_i32: - tcg_out_movi(s, TCG_TYPE_I32, args[0], (uint32_t)args[1]); - break; #define OP_32_64(x) \ glue(glue(case INDEX_op_, x), _i32): \ @@ -1318,9 +1315,6 @@ static inline void tcg_out_op(TCGContext *s, TCGOpcode opc, const TCGArg *args, tcg_out_qemu_st(s, args[0], args[1], args[2], args[3]); break; - case INDEX_op_movi_i64: - tcg_out_movi(s, TCG_TYPE_I64, args[0], args[1]); - break; case INDEX_op_ld32s_i64: tcg_out_ldst(s, args[0], args[1], args[2], LDSW); break; @@ -1386,8 +1380,13 @@ static inline void tcg_out_op(TCGContext *s, TCGOpcode opc, const TCGArg *args, tcg_out_arithc(s, args[0], TCG_REG_G0, args[1], const_args[1], c); break; + case INDEX_op_mov_i64: + case INDEX_op_mov_i32: + case INDEX_op_movi_i64: + case INDEX_op_movi_i32: + /* Always implemented with tcg_out_mov/i, never with tcg_out_op. */ default: - fprintf(stderr, "unknown opcode 0x%x\n", opc); + /* Opcode not implemented. */ tcg_abort(); } } -- 1.8.5.3