commit | a380f9db96dc94e5109611e4fd0fb4f671e30143 | [log] [tgz] |
---|---|---|
author | Aurelien Jarno <aurelien@aurel32.net> | Mon May 01 23:20:43 2017 +0200 |
committer | Aurelien Jarno <aurelien@aurel32.net> | Sat May 13 11:18:26 2017 +0200 |
tree | 7ef41df51ce6e938438abf473cba3865cbf6910f | |
parent | 58d2a9aef4cacb3056f5b12c1eb92105704183fe [diff] |
target/sh4: optimize gen_write_sr using extract op This doesn't change the generated code on x86, but optimizes it on most RISC architectures and makes the code simpler to read. Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>