QSIMPLEQ_HEAD(, MemCopyInfo) mem_free;
/* In flight values from optimization. */
- uint64_t z_mask; /* mask bit is 0 iff value bit is 0 */
- uint64_t s_mask; /* mask bit is 1 if value bit matches msb */
TCGType type;
} OptContext;
for (i = 0; i < nb_oargs; i++) {
TCGTemp *ts = arg_temp(op->args[i]);
reset_ts(ctx, ts);
- /*
- * Save the corresponding known-zero/sign bits mask for the
- * first output argument (only one supported so far).
- */
- if (i == 0) {
- ts_info(ts)->z_mask = ctx->z_mask;
- }
}
return true;
}
ctx.type = TCG_TYPE_I32;
}
- /* Assume all bits affected, no bits known zero, no sign reps. */
- ctx.z_mask = -1;
- ctx.s_mask = 0;
-
/*
* Process each opcode.
* Sorted alphabetically by opcode as much as possible.