Re: [Qemu-devel] [PATCH v2 09/27] tcg: Add atomic helpers

2016-09-08 Thread Richard Henderson
On 09/08/2016 06:43 AM, Alex Bennée wrote: >> DATA_TYPE >> > +#undef DATAX_TYPE > Accidental typo? It wasn't, actually, but... >> > #undef SUFFIX >> > #undef LSUFFIX >> > #undef DATA_SIZE >> > @@ -524,8 +696,6 @@ void probe_write(CPUArchState *env, target_ulong addr, >> > int mmu_idx, >> >

Re: [Qemu-devel] [PATCH v2 09/27] tcg: Add atomic helpers

2016-09-08 Thread Alex Bennée
Richard Henderson writes: > 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. > > Signed-off-by: Richard Henderson > /* For the benefit of TCG

[Qemu-devel] [PATCH v2 09/27] tcg: Add atomic helpers

2016-07-01 Thread Richard Henderson
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. Signed-off-by: Richard Henderson --- Makefile.objs | 1 - Makefile.target| 1 + atomic_template.h | 220