RE: [PATCH v3 07/22] host-utils: add 128-bit quotient support to divu128/divs128

2021-10-25 Thread Luis Fernando Fujita Pires
From: Richard Henderson > > A new argument, prem, was added to divu128/divs128 to receive the > > remainder, freeing up phigh to receive the high 64 bits of the > > quotient. > > > > Signed-off-by: Luis Pires > > Why not return the remainder? That would avoid the need for an extra > argument, a

Re: [PATCH v3 07/22] host-utils: add 128-bit quotient support to divu128/divs128

2021-10-21 Thread Richard Henderson
On 9/10/21 4:26 AM, Luis Pires wrote: These will be used to implement new decimal floating point instructions from Power ISA 3.1. A new argument, prem, was added to divu128/divs128 to receive the remainder, freeing up phigh to receive the high 64 bits of the quotient. Signed-off-by: Luis Pires

[PATCH v3 07/22] host-utils: add 128-bit quotient support to divu128/divs128

2021-09-10 Thread Luis Pires
These will be used to implement new decimal floating point instructions from Power ISA 3.1. A new argument, prem, was added to divu128/divs128 to receive the remainder, freeing up phigh to receive the high 64 bits of the quotient. Signed-off-by: Luis Pires --- include/hw/clock.h| 8 +-