]> git.proxmox.com Git - mirror_qemu.git/commit
tcg: Add atomic128 helpers
authorRichard Henderson <rth@twiddle.net>
Thu, 30 Jun 2016 04:10:59 +0000 (21:10 -0700)
committerRichard Henderson <rth@twiddle.net>
Wed, 26 Oct 2016 15:29:01 +0000 (08:29 -0700)
commit7ebee43ee3e2fcd7b5063058b7ef74bc43216733
tree366db1d66ff70d8332b6fb38b07085a0f79c6293
parentc482cb117cc418115ca9c6d21a7a2315414c0a40
tcg: Add atomic128 helpers

Force the use of cmpxchg16b on x86_64.

Wikipedia suggests that only very old AMD64 (circa 2004) did not have
this instruction.  Further, it's required by Windows 8 so no new cpus
will ever omit it.

If we truely care about these, then we could check this at startup time
and then avoid executing paths that use it.

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>
atomic_template.h
configure
cputlb.c
include/qemu/int128.h
tcg-runtime.c
tcg/tcg.h