|
|
|
@ -1064,8 +1064,7 @@ static const TCGOutOp * const all_outop[NB_OPS] = { |
|
|
|
OUTOP(INDEX_op_divs2, TCGOutOpDivRem, outop_divs2), |
|
|
|
OUTOP(INDEX_op_divu2, TCGOutOpDivRem, outop_divu2), |
|
|
|
OUTOP(INDEX_op_eqv, TCGOutOpBinary, outop_eqv), |
|
|
|
OUTOP(INDEX_op_movcond_i32, TCGOutOpMovcond, outop_movcond), |
|
|
|
OUTOP(INDEX_op_movcond_i64, TCGOutOpMovcond, outop_movcond), |
|
|
|
OUTOP(INDEX_op_movcond, TCGOutOpMovcond, outop_movcond), |
|
|
|
OUTOP(INDEX_op_mul, TCGOutOpBinary, outop_mul), |
|
|
|
OUTOP(INDEX_op_muls2, TCGOutOpMul2, outop_muls2), |
|
|
|
OUTOP(INDEX_op_mulsh, TCGOutOpBinary, outop_mulsh), |
|
|
|
@ -2292,13 +2291,13 @@ bool tcg_op_supported(TCGOpcode op, TCGType type, unsigned flags) |
|
|
|
case INDEX_op_and: |
|
|
|
case INDEX_op_brcond: |
|
|
|
case INDEX_op_mov: |
|
|
|
case INDEX_op_movcond: |
|
|
|
case INDEX_op_negsetcond: |
|
|
|
case INDEX_op_or: |
|
|
|
case INDEX_op_setcond: |
|
|
|
case INDEX_op_xor: |
|
|
|
return has_type; |
|
|
|
|
|
|
|
case INDEX_op_movcond_i32: |
|
|
|
case INDEX_op_ld8u_i32: |
|
|
|
case INDEX_op_ld8s_i32: |
|
|
|
case INDEX_op_ld16u_i32: |
|
|
|
@ -2327,7 +2326,6 @@ bool tcg_op_supported(TCGOpcode op, TCGType type, unsigned flags) |
|
|
|
case INDEX_op_setcond2_i32: |
|
|
|
return TCG_TARGET_REG_BITS == 32; |
|
|
|
|
|
|
|
case INDEX_op_movcond_i64: |
|
|
|
case INDEX_op_ld8u_i64: |
|
|
|
case INDEX_op_ld8s_i64: |
|
|
|
case INDEX_op_ld16u_i64: |
|
|
|
@ -2879,10 +2877,9 @@ void tcg_dump_ops(TCGContext *s, FILE *f, bool have_prefs) |
|
|
|
case INDEX_op_brcond: |
|
|
|
case INDEX_op_setcond: |
|
|
|
case INDEX_op_negsetcond: |
|
|
|
case INDEX_op_movcond_i32: |
|
|
|
case INDEX_op_movcond: |
|
|
|
case INDEX_op_brcond2_i32: |
|
|
|
case INDEX_op_setcond2_i32: |
|
|
|
case INDEX_op_movcond_i64: |
|
|
|
case INDEX_op_cmp_vec: |
|
|
|
case INDEX_op_cmpsel_vec: |
|
|
|
if (op->args[k] < ARRAY_SIZE(cond_name) |
|
|
|
@ -5082,8 +5079,7 @@ static void tcg_reg_alloc_op(TCGContext *s, const TCGOp *op) |
|
|
|
case INDEX_op_brcond2_i32: |
|
|
|
op_cond = op->args[4]; |
|
|
|
break; |
|
|
|
case INDEX_op_movcond_i32: |
|
|
|
case INDEX_op_movcond_i64: |
|
|
|
case INDEX_op_movcond: |
|
|
|
case INDEX_op_setcond2_i32: |
|
|
|
case INDEX_op_cmpsel_vec: |
|
|
|
op_cond = op->args[5]; |
|
|
|
@ -5513,8 +5509,7 @@ static void tcg_reg_alloc_op(TCGContext *s, const TCGOp *op) |
|
|
|
} |
|
|
|
break; |
|
|
|
|
|
|
|
case INDEX_op_movcond_i32: |
|
|
|
case INDEX_op_movcond_i64: |
|
|
|
case INDEX_op_movcond: |
|
|
|
{ |
|
|
|
const TCGOutOpMovcond *out = &outop_movcond; |
|
|
|
TCGCond cond = new_args[5]; |
|
|
|
|