« Previous | Next » 

Revision 8115f117

ID8115f117357a63bff84522caac6c3bcadee0a285

Added by Richard Henderson over 11 years ago

target-i386: use inverted setcond when computing NS or NZ

Make gen_compute_eflags_z and gen_compute_eflags_s able to compute the
inverted condition, and use this in gen_setcc_slow_T0. We cannot do it
yet in gen_compute_eflags_c, but prepare the code for it anyway. It is
not worthwhile for PF, as usual.

shr+and+xor could be replaced by and+setcond. I'm not doing it yet.

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

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences