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

2023-01-27 Thread Alex Bennée
Richard Henderson writes: > 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. > Prov

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

2023-01-25 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.