Re: [Qemu-devel] [PATCH] x86: fix daa opcode for al register values higher than 0xf9

2011-08-30 Thread Peter Maydell
On 30 August 2011 08:00, Boris Figovsky wrote: > The second if statement should consider the original al register value, > and not the new one. Reviewed-by: Peter Maydell (It took me some time to convince myself that the line CF <- old_CF or (Carry from AL <- AL + 6) in the Intel architectur

[Qemu-devel] [PATCH] x86: fix daa opcode for al register values higher than 0xf9

2011-08-30 Thread Boris Figovsky
The second if statement should consider the original al register value, and not the new one. Signed-off-by: Boris Figovsky --- target-i386/op_helper.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/target-i386/op_helper.c b/target-i386/op_helper.c index 1bbc3b5..1f