target/s390x: Diagnose specification exception for atomics
commit44977a8fe7b5ed8fc3d135b74d5933dfa53b11ee
authorRichard Henderson <rth@twiddle.net>
Thu, 2 Mar 2017 02:06:18 +0000 (2 13:06 +1100)
committerRichard Henderson <rth@twiddle.net>
Fri, 12 May 2017 22:40:29 +0000 (12 15:40 -0700)
tree75815086b02f333f4372b3809170c3c066227b08
parent190b2422e65fb8bb559f4337dfe461a50d0b7ec1
target/s390x: Diagnose specification exception for atomics

All of the interlocked access facility instructions raise a
specification exception for unaligned accesses.  Do this by
using the (previously unused) unaligned_access hook.

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