commit | c53b36d210a55c67eca3ae89ebfdf665c0f2c3e2 | [log] [tgz] |
---|---|---|
author | Aurelien Jarno <aurelien@aurel32.net> | Sun Sep 16 13:12:20 2012 +0200 |
committer | Aurelien Jarno <aurelien@aurel32.net> | Fri Sep 21 19:53:16 2012 +0200 |
tree | 99d8eacdc4ebe6a83b9768520a3d95856e5c82a3 | |
parent | f16640f47bb0b8f907fff08a2e8d1c891ce82480 [diff] |
target-sh4: optimize swap.w It's possible swap the two 16-bit words of a 32-bit register using a rotation. If the TCG target doesn't implement rotation, the replacement code is similar to the previously implemented code. Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>