« Previous | Next » 

Revision 3c94193e

ID3c94193e0bbdd855bcbedabd27e3cbe1e6bc6242

Added by Aurelien Jarno over 11 years ago

tcg/optimize: optimize "op r, a, a => movi r, 0"

Now that it's possible to detect copies, we can optimize the case
the "op r, a, a => movi r, 0". This helps in the computation of
overflow flags when one of the two args is 0.

Reviewed-by: Richard Henderson <>
Signed-off-by: Aurelien Jarno <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences