host-utils: Implemented unsigned 256-by-128 division
authorLucas Mateus Castro (alqotel) <lucas.araujo@eldorado.org.br>
Wed, 25 May 2022 13:49:50 +0000 (10:49 -0300)
committerDaniel Henrique Barboza <danielhb413@gmail.com>
Mon, 20 Jun 2022 11:38:58 +0000 (08:38 -0300)
commit4724bbd28475210d25e0c949a7f424550487b187
tree0e1bd80eb2f3defa702031f7240601d0504c441b
parent9a1f0866a3caf0f98ff588ba84da4fa6be2dc39c
host-utils: Implemented unsigned 256-by-128 division

Based on already existing QEMU implementation, created an unsigned 256
bit by 128 bit division needed to implement the vector divide extended
unsigned instruction from PowerISA3.1

Signed-off-by: Lucas Mateus Castro (alqotel) <lucas.araujo@eldorado.org.br>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220525134954.85056-5-lucas.araujo@eldorado.org.br>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
include/qemu/host-utils.h
include/qemu/int128.h
util/host-utils.c