target/sh4: implement tas.b using atomic helper
commitcb32f179e00c51b32bf37a15191179b4fc472d29
authorAurelien Jarno <aurelien@aurel32.net>
Mon, 1 May 2017 21:20:43 +0000 (1 23:20 +0200)
committerAurelien Jarno <aurelien@aurel32.net>
Sat, 13 May 2017 09:18:27 +0000 (13 11:18 +0200)
tree3609edd49ecde36e0157eb75fdbc1862a5dc5537
parentaa3513176f8c6f3150a9499f3d22da6c86b6b097
target/sh4: implement tas.b using atomic helper

We only emulate UP SH4, however as the tas.b instruction is used in the GNU
libc, this improve linux-user emulation.

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