mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-28 20:41:52 -06:00
tcg/optimize: Use fold_masks_z in fold_setcond
Avoid the use of the OptContext slots. Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
95eb229363
commit
2c8a28398d
1 changed files with 1 additions and 2 deletions
|
@ -2367,8 +2367,7 @@ static bool fold_setcond(OptContext *ctx, TCGOp *op)
|
||||||
fold_setcond_tst_pow2(ctx, op, false);
|
fold_setcond_tst_pow2(ctx, op, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
ctx->z_mask = 1;
|
return fold_masks_z(ctx, op, 1);
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool fold_negsetcond(OptContext *ctx, TCGOp *op)
|
static bool fold_negsetcond(OptContext *ctx, TCGOp *op)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue