target-sh4: split out Q and M from of SR and optimize div1
commit1d565b21e1aecbb0da6589f3c4ea83c9c788ad63
authorAurelien Jarno <aurelien@aurel32.net>
Sun, 24 May 2015 23:28:56 +0000 (25 01:28 +0200)
committerAurelien Jarno <aurelien@aurel32.net>
Fri, 12 Jun 2015 10:02:48 +0000 (12 12:02 +0200)
tree91f484f105e06f76fe8b62ad159ee91a2c18c780
parent60eb27fe4951fbe6cf5e24cc3d6df7e97c43a909
target-sh4: split out Q and M from of SR and optimize div1

Splitting Q and M out of SR, it's possible to optimize div1 by using
TCG code instead of an helper.

At the same time removed the now unused gen_copy_bit_i32 function.

Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
target-sh4/cpu.h
target-sh4/helper.h
target-sh4/op_helper.c
target-sh4/translate.c