diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2022-11-09 00:23:44 +1100 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2023-02-04 06:19:42 -1000 |
commit | 123ae5683c9e7815857304fd2f21664621c90a13 (patch) | |
tree | 1f26d3d871ddc58e58e2d3dacb9cd31a464209b1 /include/tcg | |
parent | cb48f3654e290ee5d7cbf1fb31888463fa2a180c (diff) | |
download | qemu-123ae5683c9e7815857304fd2f21664621c90a13.zip qemu-123ae5683c9e7815857304fd2f21664621c90a13.tar.gz qemu-123ae5683c9e7815857304fd2f21664621c90a13.tar.bz2 |
tcg: Add tcg_gen_{non}atomic_cmpxchg_i128
This will allow targets to avoid rolling their own.
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'include/tcg')
-rw-r--r-- | include/tcg/tcg-op.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/tcg/tcg-op.h b/include/tcg/tcg-op.h index e5f5b63..31bf3d2 100644 --- a/include/tcg/tcg-op.h +++ b/include/tcg/tcg-op.h @@ -907,6 +907,11 @@ void tcg_gen_atomic_cmpxchg_i32(TCGv_i32, TCGv, TCGv_i32, TCGv_i32, TCGArg, MemOp); void tcg_gen_atomic_cmpxchg_i64(TCGv_i64, TCGv, TCGv_i64, TCGv_i64, TCGArg, MemOp); +void tcg_gen_atomic_cmpxchg_i128(TCGv_i128, TCGv, TCGv_i128, TCGv_i128, + TCGArg, MemOp); + +void tcg_gen_nonatomic_cmpxchg_i128(TCGv_i128, TCGv, TCGv_i128, TCGv_i128, + TCGArg, MemOp); void tcg_gen_atomic_xchg_i32(TCGv_i32, TCGv, TCGv_i32, TCGArg, MemOp); void tcg_gen_atomic_xchg_i64(TCGv_i64, TCGv, TCGv_i64, TCGArg, MemOp); |