OSDN Git Service

host/include/loongarch64: Add atomic16 load and store
authorRichard Henderson <richard.henderson@linaro.org>
Sat, 16 Sep 2023 22:01:49 +0000 (15:01 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Mon, 6 Nov 2023 16:27:21 +0000 (08:27 -0800)
commitadc8467e697db988878cec645ae52aa6b51ce4c4
tree845f74c9c48502f32f1b4675f9d7dddbe86dd405
parentf2a553481e520e359f735ea6f4a9435e52b3b446
host/include/loongarch64: Add atomic16 load and store

While loongarch64 does not have a 128-bit cmpxchg, it does
have 128-bit atomic load and store via the vector unit.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230916220151.526140-6-richard.henderson@linaro.org>
host/include/loongarch64/host/atomic128-ldst.h [new file with mode: 0644]
host/include/loongarch64/host/load-extract-al16-al8.h [new file with mode: 0644]
host/include/loongarch64/host/store-insert-al16.h [new file with mode: 0644]