diff options
author | Luis Pires <luis.pires@eldorado.org.br> | 2021-09-10 08:26:04 -0300 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2021-09-29 19:37:38 +1000 |
commit | 4ff2a971f4dd533140c01607a0c776ba8d837bc7 (patch) | |
tree | e5d904ea4aed3805a8a878b915a29281da4efa17 /include/qom/qom-qobject.h | |
parent | 06c0259a086f0f4ddd57a14ba811bba0b9e45130 (diff) | |
download | qemu-4ff2a971f4dd533140c01607a0c776ba8d837bc7.zip qemu-4ff2a971f4dd533140c01607a0c776ba8d837bc7.tar.gz qemu-4ff2a971f4dd533140c01607a0c776ba8d837bc7.tar.bz2 |
host-utils: fix missing zero-extension in divs128
*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>
Message-Id: <20210910112624.72748-3-luis.pires@eldorado.org.br>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'include/qom/qom-qobject.h')
0 files changed, 0 insertions, 0 deletions