|
From: | Richard Henderson |
Subject: | Re: [PATCH v3 02/22] host-utils: fix missing zero-extension in divs128 |
Date: | Thu, 21 Oct 2021 13:02:13 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 |
On 9/10/21 4:26 AM, Luis Pires wrote:
*plow (lower 64 bits of the dividend) is passed into divs128() as a signed 64-bit integer. When building an __int128_t from it, it must be zero-extended, instead of sign-extended. Suggested-by: Richard Henderson<richard.henderson@linaro.org> Signed-off-by: Luis Pires<luis.pires@eldorado.org.br> --- include/qemu/host-utils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Richard Henderson <richard.henderson@linaro.org> r~
[Prev in Thread] | Current Thread | [Next in Thread] |