|
From: | Richard Henderson |
Subject: | Re: [PATCH v2 1/2] tcg: add dup_const_tl wrapper |
Date: | Sun, 3 Oct 2021 20:38:38 -0400 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 |
On 10/3/21 5:42 PM, Philipp Tomsich wrote:
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. Signed-off-by: Philipp Tomsich<philipp.tomsich@vrull.eu> ---
Reviewed-by: Richard Henderson <richard.henderson@linaro.org> r~
[Prev in Thread] | Current Thread | [Next in Thread] |