commit | 9a152519a9f767297c92b5840c91a22235295c8d | [log] [tgz] |
---|---|---|
author | Aurelien Jarno <aurelien@aurel32.net> | Fri Sep 21 18:20:26 2012 +0200 |
committer | Aurelien Jarno <aurelien@aurel32.net> | Sat Sep 22 15:10:20 2012 +0200 |
tree | 51b4843de8404c7180737216b340c1d9a8a1a76a | |
parent | c1cf85c9acb847c4871c0b241ced8fabf410d502 [diff] |
tcg/mips: implement rotl/rotr ops on MIPS32R2 rotr operations can be optimized on MIPS32 Release 2 using the ROTR and ROTRV instructions. Also implemented rotl operations by subtracting the shift from 32. Reviewed-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>