diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2022-10-17 09:17:20 +1000 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2023-02-04 06:19:42 -1000 |
commit | b959822c94e6d32b36fad038e79c14f841e585c1 (patch) | |
tree | b2c201a190f542726172ee62d6b4738dd14b0568 /tcg | |
parent | c6556aa0c8de8718813fea0ca61232632bf33c42 (diff) | |
download | qemu-b959822c94e6d32b36fad038e79c14f841e585c1.zip qemu-b959822c94e6d32b36fad038e79c14f841e585c1.tar.gz qemu-b959822c94e6d32b36fad038e79c14f841e585c1.tar.bz2 |
include/qemu/int128: Use Int128 structure for TCI
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. We cannot modify
Int128 itself, as any changed alignment would also break libffi.
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'tcg')
0 files changed, 0 insertions, 0 deletions