Re: [Qemu-devel] [PATCH] target/xtensa: fix s32c1i TCGMemOp flags

2018-09-12 Thread Richard Henderson
On 09/10/2018 06:32 PM, Max Filippov wrote: > s32c1i must load and store value with target endianness, not host. > This results in an infinite loop in atomic cmpxchg sequences when target > endianness doesn't match host endianness. > > Fixes: 9fb40342d4b3 ("target/xtensa: support MTTCG") > Cc: qem

[Qemu-devel] [PATCH] target/xtensa: fix s32c1i TCGMemOp flags

2018-09-10 Thread Max Filippov
s32c1i must load and store value with target endianness, not host. This results in an infinite loop in atomic cmpxchg sequences when target endianness doesn't match host endianness. Fixes: 9fb40342d4b3 ("target/xtensa: support MTTCG") Cc: qemu-sta...@nongnu.org Signed-off-by: Max Filippov --- ta