aboutsummaryrefslogtreecommitdiff
path: root/accel
diff options
context:
space:
mode:
authorPhilipp Tomsich <philipp.tomsich@vrull.eu>2021-10-03 23:42:42 +0200
committerRichard Henderson <richard.henderson@linaro.org>2021-10-05 16:53:17 -0700
commitdb637f270b52f8c2a1c55e7e707532532295715c (patch)
treebb77bbef6263bd475245faae8a4e02152fff7cc4 /accel
parent08a13c4b247338329951238a6c47b94f70c387d2 (diff)
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 'accel')
0 files changed, 0 insertions, 0 deletions