target/sh4: Recognize common gUSA sequences
commitd6a6cffdd3d861c2cdd09253369bba50f9e3d891
authorRichard Henderson <rth@twiddle.net>
Tue, 18 Jul 2017 20:02:32 +0000 (18 10:02 -1000)
committerAurelien Jarno <aurelien@aurel32.net>
Tue, 18 Jul 2017 21:39:16 +0000 (18 23:39 +0200)
tree09eeeeb60da3b322ad5dfd29a5a69a40d613e3a6
parent4bfa602bc2227f5b5a506a4c0c20657d68eaefd1
target/sh4: Recognize common gUSA sequences

For many of the sequences produced by gcc or glibc,
we can translate these as host atomic operations.
Which saves the need to acquire the exclusive lock.

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