Re: [Qemu-devel] [PATCH] target/ppc: bcdsub fix sign when result is zero

2018-07-18 Thread Yasmin Beatriz
On Wed, Jul 18, 2018 at 12:22:02PM +1000, David Gibson wrote: > On Mon, Jul 16, 2018 at 07:03:12PM +, Yasmin Beatriz wrote: > > When the result of bcdsub is equal to zero, the result sign may be > > set to negative in some cases, and this does not follow the Power ISA > > specifications as to d

Re: [Qemu-devel] [PATCH] target/ppc: bcdsub fix sign when result is zero

2018-07-17 Thread David Gibson
On Mon, Jul 16, 2018 at 07:03:12PM +, Yasmin Beatriz wrote: > When the result of bcdsub is equal to zero, the result sign may be > set to negative in some cases, and this does not follow the Power ISA > specifications as to decimal integer arithmetic instructions. > > Signed-off-by: Yasmin Bea

[Qemu-devel] [PATCH] target/ppc: bcdsub fix sign when result is zero

2018-07-16 Thread Yasmin Beatriz
When the result of bcdsub is equal to zero, the result sign may be set to negative in some cases, and this does not follow the Power ISA specifications as to decimal integer arithmetic instructions. Signed-off-by: Yasmin Beatriz --- target/ppc/int_helper.c | 3 +++ 1 file changed, 3 insertions(+