Re: [PATCH RESEND 09/10] target/ppc: implement cbcdtd

2022-05-17 Thread Richard Henderson
On 5/17/22 09:47, Víctor Colombo wrote: From: Matheus Ferst 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 de

[PATCH RESEND 09/10] target/ppc: implement cbcdtd

2022-05-17 Thread Víctor Colombo
From: Matheus Ferst 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