target/s390x: check alignment in CDSG in the !CONFIG_ATOMIC128 case
authorAurelien Jarno <aurelien@aurel32.net>
Sun, 4 Jun 2017 20:20:34 +0000 (22:20 +0200)
committerRichard Henderson <rth@twiddle.net>
Tue, 6 Jun 2017 22:25:14 +0000 (15:25 -0700)
commitc0080f1bdbb409b12aa07c2a18caf3ff6a7c1f65
tree7c774f7c66099fc4d2a3053cc63a12cb231ffcb8
parentc21b610f58f0334aa7f3ddca86efb488d4a92085
target/s390x: check alignment in CDSG in the !CONFIG_ATOMIC128 case

The CDSG instruction requires a 16-byte alignement, as expressed in
the MO_ALIGN_16 passed to helper_atomic_cmpxchgo_be_mmu. In the non
parallel case, use check_alignment to enforce this.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Message-Id: <20170604202034.16615-4-aurelien@aurel32.net>
Signed-off-by: Richard Henderson <rth@twiddle.net>
target/s390x/mem_helper.c