]> git.proxmox.com Git - mirror_qemu.git/commit - cputlb.c
tcg: Add atomic helpers
authorRichard Henderson <rth@twiddle.net>
Tue, 28 Jun 2016 18:37:27 +0000 (11:37 -0700)
committerRichard Henderson <rth@twiddle.net>
Wed, 26 Oct 2016 15:29:01 +0000 (08:29 -0700)
commitc482cb117cc418115ca9c6d21a7a2315414c0a40
treeb665778366c40123e7e9831109ffc420caec9bfb
parentc86c6e4c80fee4d9423bedb10ba9e9c4aa68f861
tcg: Add atomic helpers

Add all of cmpxchg, op_fetch, fetch_op, and xchg.
Handle both endian-ness, and sizes up to 8.
Handle expanding non-atomically, when emulating in serial.

Reviewed-by: Emilio G. Cota <cota@braap.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <rth@twiddle.net>
Makefile.objs
Makefile.target
atomic_template.h [new file with mode: 0644]
cputlb.c
tcg-runtime.c
tcg/tcg-op.c
tcg/tcg-op.h
tcg/tcg-runtime.h
tcg/tcg.h