commit | 2df3f1ee68269d40f5dcb5e8d9aba0869e150896 | [log] [tgz] |
---|---|---|
author | Richard Henderson <rth@twiddle.net> | Mon Mar 11 19:51:56 2013 -0700 |
committer | Aurelien Jarno <aurelien@aurel32.net> | Sat Apr 27 02:16:43 2013 +0200 |
tree | 156ba5c0c61974d45749c5fe2c0a01ebf965de67 | |
parent | 5d53b4c93caf16531e65a95a9b5c93228fe48f8b [diff] |
tcg-arm: Handle constant arguments to add2/sub2 We get to re-use the _rIN and _rIK subroutines to handle the various combinations of add vs sub. Fold the << 21 into the opcode enum values so that we can explicitly add TO_CPSR as desired. Reviewed-by: Aurelien Jarno <aurelien@aurel32.net> Signed-off-by: Richard Henderson <rth@twiddle.net>