diff options
author | Aurelien Jarno <aurelien@aurel32.net> | 2012-09-18 19:12:36 +0200 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2012-09-22 15:10:21 +0200 |
commit | 3c94193e0bbdd855bcbedabd27e3cbe1e6bc6242 (patch) | |
tree | 66acc972bc03f5d47de4488f60c5fd786cbd7d27 /tcg/tcg.c | |
parent | 0aba1c7376ad325202f328211ab6dfcae94c7f2a (diff) |
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 <rth@twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'tcg/tcg.c')
0 files changed, 0 insertions, 0 deletions