target/s390x: Use cpu_{ld,st}*_mmu in do_csst
authorRichard Henderson <richard.henderson@linaro.org>
Sat, 20 May 2023 00:38:41 +0000 (17:38 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Wed, 24 May 2023 01:54:55 +0000 (18:54 -0700)
commitddc0ab5aab06554eeb67ddfe1ef6337035d7d084
tree0b6192af84181fa3f00bfc5fcd9b8b567c5a63e4
parentfbea7a4084e54f3e604da0b4f8b36ac457d7efc8
target/s390x: Use cpu_{ld,st}*_mmu in do_csst

Use cpu_ld16_mmu and cpu_st16_mmu to eliminate the special case,
and change all of the *_data_ra functions to match.

Note that we check the alignment of both compare and store
pointers at the top of the function, so MO_ALIGN* may be
safely removed from the individual memory operations.

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
target/s390x/tcg/mem_helper.c