On 11/28/22 15:40, Ilya Leoshkevich wrote:
On an s390x host we fall back to cpu_exec_step_atomic(), because in the
configure test:
int main(void)
{
unsigned __int128 x = 0, y = 0;
__sync_val_compare_and_swap_16(&x, y, x);
return 0;
}
x and y are not aligned. I guess that's working as intended as well,
even though it would be nice to eventually make use of cdsg there.
I have a fix for that as a part of '[PATCH for-8.0 00/29] tcg: Improve
atomicity support':
https://lore.kernel.org/qemu-devel/20221118094754.242910-14-richard.hender...@linaro.org/
r~