aboutsummaryrefslogtreecommitdiff
path: root/qemu-edid.c
diff options
context:
space:
mode:
authorMatheus Ferst <matheus.ferst@eldorado.org.br>2022-06-29 13:29:04 -0300
committerDaniel Henrique Barboza <danielhb413@gmail.com>2022-07-06 10:22:38 -0300
commit6b924d4afcab8d4284910483d16dcf803a24f657 (patch)
tree507e5054545e7e55f899d4123acdd7d308fc5549 /qemu-edid.c
parent38d3690bda3fe217ea72903859907916a5429c6e (diff)
downloadqemu-6b924d4afcab8d4284910483d16dcf803a24f657.zip
qemu-6b924d4afcab8d4284910483d16dcf803a24f657.tar.gz
qemu-6b924d4afcab8d4284910483d16dcf803a24f657.tar.bz2
target/ppc: implement cdtbcd
Implements the Convert Declets To Binary Coded Decimal instruction. Since libdecnumber doesn't expose the methods for direct conversion (decDigitsFromDPD, DPD2BCD, etc), a positive decimal32 with zero exponent is used as an intermediate value to convert the declets. Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Matheus Ferst <matheus.ferst@eldorado.org.br> Signed-off-by: VĂ­ctor Colombo <victor.colombo@eldorado.org.br> Message-Id: <20220629162904.105060-12-victor.colombo@eldorado.org.br> Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Diffstat (limited to 'qemu-edid.c')
0 files changed, 0 insertions, 0 deletions