[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v2 09/13] tcg-sparc: Don't handle mov/movi in tcg_ou
From: |
Richard Henderson |
Subject: |
[Qemu-devel] [PATCH v2 09/13] tcg-sparc: Don't handle mov/movi in tcg_out_op |
Date: |
Thu, 24 Apr 2014 13:01:51 -0700 |
Signed-off-by: Richard Henderson <address@hidden>
---
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 af9673f..d5d1761 100644
--- a/tcg/sparc/tcg-target.c
+++ b/tcg/sparc/tcg-target.c
@@ -1187,9 +1187,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): \
@@ -1324,9 +1321,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;
@@ -1392,8 +1386,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.9.0
- [Qemu-devel] [PATCH v2 00/13] tcg/sparc v8plus code generation, Richard Henderson, 2014/04/24
- [Qemu-devel] [PATCH v2 11/13] tcg-sparc: Fixup function argument types, Richard Henderson, 2014/04/24
- [Qemu-devel] [PATCH v2 09/13] tcg-sparc: Don't handle mov/movi in tcg_out_op,
Richard Henderson <=
- [Qemu-devel] [PATCH v2 12/13] tcg-sparc: Fix small 32-bit movi, Richard Henderson, 2014/04/24
- [Qemu-devel] [PATCH v2 04/13] tcg-sparc: Support trunc_shr_i32, Richard Henderson, 2014/04/24
- [Qemu-devel] [PATCH v2 13/13] tcg-sparc: Accept stores of zero, Richard Henderson, 2014/04/24
- [Qemu-devel] [PATCH v2 05/13] tcg-sparc: Use 64-bit registers with sparcv8plus, Richard Henderson, 2014/04/24
- [Qemu-devel] [PATCH v2 02/13] tcg: Add INDEX_op_trunc_shr_i32, Richard Henderson, 2014/04/24
- [Qemu-devel] [PATCH v2 10/13] tcg-sparc: Hoist common argument loads in tcg_out_op, Richard Henderson, 2014/04/24
- [Qemu-devel] [PATCH v2 01/13] tcg: Fix missed pointer size != TCG_TARGET_REG_BITS changes, Richard Henderson, 2014/04/24
- [Qemu-devel] [PATCH v2 03/13] tcg-sparc: Remove most uses of TCG_TARGET_REG_BITS, Richard Henderson, 2014/04/24
- [Qemu-devel] [PATCH v2 06/13] tcg-sparc: Use the RETURN instruction, Richard Henderson, 2014/04/24
- [Qemu-devel] [PATCH v2 07/13] tcg-sparc: Implement muls2_i32, Richard Henderson, 2014/04/24