commit | c482cb117cc418115ca9c6d21a7a2315414c0a40 | [log] [tgz] |
---|---|---|
author | Richard Henderson <rth@twiddle.net> | Tue Jun 28 11:37:27 2016 -0700 |
committer | Richard Henderson <rth@twiddle.net> | Wed Oct 26 08:29:01 2016 -0700 |
tree | b665778366c40123e7e9831109ffc420caec9bfb | |
parent | c86c6e4c80fee4d9423bedb10ba9e9c4aa68f861 [diff] |
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>