accel/tcg: Standardize atomic helpers on softmmu api
commite28a86643842014d2a1cacb4fe9370ef53e28dc6
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 16 Jul 2021 22:51:32 +0000 (16 15:51 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Wed, 21 Jul 2021 17:45:38 +0000 (21 07:45 -1000)
tree590f3557fa787e9ba5bf2800ecccbb0825db84a8
parentbe9568b4e02100681af14ab2d17522c3d497f511
accel/tcg: Standardize atomic helpers on softmmu api

Reduce the amount of code duplication by always passing
the TCGMemOpIdx argument to helper_atomic_*.  This is not
currently used for user-only, but it's easy to ignore.

Tested-by: Cole Robinson <crobinso@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
accel/tcg/atomic_common.c.inc
accel/tcg/cputlb.c
accel/tcg/tcg-runtime.h
accel/tcg/user-exec.c
tcg/tcg-op.c