commit | df072774cb0175c1ae93af18c6e1f54624831b7e | [log] [tgz] |
---|---|---|
author | Richard Henderson <rth@twiddle.net> | Thu Oct 27 14:15:00 2011 -0700 |
committer | Blue Swirl <blauwirbel@gmail.com> | Sun Oct 30 09:06:23 2011 +0000 |
tree | 110de7b288b7d54d2b5e7dd7635bb42aa1205497 | |
parent | 7999f7e1273b63ec3a60d8cf2cb79cb88575744a [diff] |
tcg: Optimize some forms of deposit. If the deposit replaces the entire word, optimize to a move. If we're inserting to the top of the word, avoid the mask of arg2 as we'll be shifting out all of the garbage and shifting in zeros. If the host is 32-bit, reduce a 64-bit deposit to a 32-bit deposit when possible. Signed-off-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>