« Previous | Next » 

Revision 086c4077

ID086c40778485f9a52d41a66fd4ef0d8723a2ac0a

Added by Richard Henderson over 11 years ago

target-i386: do not call helper to compute ZF/SF

ZF, SF and PF can always be computed from CC_DST except in the
CC_OP_EFLAGS case (and CC_OP_DYNAMIC, which just resolves to CC_OP_EFLAGS
in gen_compute_eflags). Use setcond to compute ZF and SF.

We could also use a table lookup to compute PF.

Reviewed-by: Blue Swirl <>
Signed-off-by: Paolo Bonzini <>
Signed-off-by: Richard Henderson <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences