commit | 39dc85b98561ea3de2b029f43a3a2db95c57afa3 | [log] [tgz] |
---|---|---|
author | Richard Henderson <rth@twiddle.net> | Thu Apr 04 12:47:22 2013 -0700 |
committer | Richard Henderson <rth@twiddle.net> | Mon Apr 15 20:09:55 2013 +0200 |
tree | 3787ec62097954e4e148c98968c1b0298683d3ef | |
parent | 6645c147db4bb84b1b24c49be9398be22902923b [diff] |
tcg-ppc64: Handle deposit of zero The TCG optimizer does great work when inserting constants, being able to fold the open-coded deposit expansion to just an AND or an OR. Avoid a bit the regression caused by having the deposit opcode by expanding deposit of zero as an AND. Reviewed-by: Aurelien Jarno <aurelien@aurel32.net> Signed-off-by: Richard Henderson <rth@twiddle.net>