On 10/28/24 15:18, Paolo Bonzini wrote:
Most uses of CC_OP_DYNAMIC are for CMP/JB/JE or similar sequences.
We can optimize many of them to avoid computation of the flags.
This eliminates both TCG ops to set up the new cc_op, and helper
instructions because evaluating just ZF is much cheaper.

Signed-off-by: Paolo Bonzini<pbonz...@redhat.com>
---
  target/i386/helper.h        |  1 +
  target/i386/tcg/cc_helper.c | 13 +++++++++++++
  target/i386/tcg/translate.c | 10 +++++++---
  3 files changed, 21 insertions(+), 3 deletions(-)

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>

r~

Reply via email to