« Previous | Next » 

Revision 6f396c8f

ID6f396c8f38fb47dda5622880f7f2c646b145bc23

Added by Aurelien Jarno over 13 years ago

target-sh4: simplify comparisons after a 'and' op

When a TCG variable is anded with a value and the compared with the same
value, we can simply invert the comparison and compare it with 0. The
generated code is smaller.

Signed-off-by: Aurelien Jarno <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences