mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
tcg/optimize: Use fold_masks_z in fold_extu
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:
+2
-2
@@ -1851,11 +1851,11 @@ static bool fold_extu(OptContext *ctx, TCGOp *op)
|
||||
g_assert_not_reached();
|
||||
}
|
||||
|
||||
ctx->z_mask = z_mask;
|
||||
if (!type_change && fold_affected_mask(ctx, op, z_mask_old ^ z_mask)) {
|
||||
return true;
|
||||
}
|
||||
return fold_masks(ctx, op);
|
||||
|
||||
return fold_masks_z(ctx, op, z_mask);
|
||||
}
|
||||
|
||||
static bool fold_mb(OptContext *ctx, TCGOp *op)
|
||||
|
||||
Reference in New Issue
Block a user