Re: [PATCH v4 08/36] include/qemu/int128: Use Int128 structure for TCI

2023-01-24 Thread Philippe Mathieu-Daudé
On 8/1/23 03:36, Richard Henderson wrote: We are about to allow passing Int128 to/from tcg helper functions, but libffi doesn't support __int128_t, so use the structure. In order for atomic128.h to continue working, we must provide a mechanism to frob between real __int128_t and the structure. P

[PATCH v4 08/36] include/qemu/int128: Use Int128 structure for TCI

2023-01-07 Thread Richard Henderson
We are about to allow passing Int128 to/from tcg helper functions, but libffi doesn't support __int128_t, so use the structure. In order for atomic128.h to continue working, we must provide a mechanism to frob between real __int128_t and the structure. Provide a new union, Int128Alias, for this.