mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-01 23:03:54 -06:00
libdecnumber: Introduce decNumberIntegralToInt128
This will be used to implement PowerPC's dctfixqq. Signed-off-by: Luis Pires <luis.pires@eldorado.org.br> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20211029192417.400707-7-luis.pires@eldorado.org.br> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
parent
e06049f380
commit
21d7826fdb
4 changed files with 102 additions and 4 deletions
|
@ -124,6 +124,8 @@
|
|||
uint32_t decNumberToUInt32(const decNumber *, decContext *);
|
||||
int32_t decNumberToInt32(const decNumber *, decContext *);
|
||||
int64_t decNumberIntegralToInt64(const decNumber *dn, decContext *set);
|
||||
void decNumberIntegralToInt128(const decNumber *dn, decContext *set,
|
||||
uint64_t *plow, uint64_t *phigh);
|
||||
uint8_t * decNumberGetBCD(const decNumber *, uint8_t *);
|
||||
decNumber * decNumberSetBCD(decNumber *, const uint8_t *, uint32_t);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue