diff options
| author | Philipp Tomsich | 2021-10-03 23:42:42 +0200 |
|---|---|---|
| committer | Richard Henderson | 2021-10-06 01:53:17 +0200 |
| commit | db637f270b52f8c2a1c55e7e707532532295715c (patch) | |
| tree | bb77bbef6263bd475245faae8a4e02152fff7cc4 /include/exec | |
| parent | tests/docker: Fix fedora-i386-cross cross-compilation (diff) | |
| download | qemu-db637f270b52f8c2a1c55e7e707532532295715c.tar.gz qemu-db637f270b52f8c2a1c55e7e707532532295715c.tar.xz qemu-db637f270b52f8c2a1c55e7e707532532295715c.zip | |
tcg: add dup_const_tl wrapper
dup_const always generates a uint64_t, which may exceed the size of a
target_long (generating warnings with recent-enough compilers).
To ensure that we can use dup_const both for 64bit and 32bit targets,
this adds dup_const_tl, which either maps back to dup_const (for 64bit
targets) or provides a similar implementation using 32bit constants.
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Philipp Tomsich <philipp.tomsich@vrull.eu>
Message-Id: <20211003214243.3813425-1-philipp.tomsich@vrull.eu>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'include/exec')
0 files changed, 0 insertions, 0 deletions
