aboutsummaryrefslogtreecommitdiff
path: root/qapi
diff options
context:
space:
mode:
authorMatheus Ferst <matheus.ferst@eldorado.org.br>2022-06-29 13:29:03 -0300
committerDaniel Henrique Barboza <danielhb413@gmail.com>2022-07-06 10:22:38 -0300
commit38d3690bda3fe217ea72903859907916a5429c6e (patch)
treea28e2139e1c66d39bcaef4b59547747359da0933 /qapi
parent6addef4d272684ba624c9fcaf66bc67e5fc4a93f (diff)
downloadqemu-38d3690bda3fe217ea72903859907916a5429c6e.zip
qemu-38d3690bda3fe217ea72903859907916a5429c6e.tar.gz
qemu-38d3690bda3fe217ea72903859907916a5429c6e.tar.bz2
target/ppc: implement cbcdtd
Implements the Convert Binary Coded Decimal To Declets instruction. Since libdecnumber doesn't expose the methods for direct conversion (decDigitsToDPD, BCD2DPD, etc.), the BCD values are converted to decimal32 format, from which the declets are extracted. Where the behavior is undefined, we try to match the result observed in a POWER9 DD2.3. 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-11-victor.colombo@eldorado.org.br> Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Diffstat (limited to 'qapi')
0 files changed, 0 insertions, 0 deletions