[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] SPARC target : Fix carry flag update in addxcc
From: |
Paul Brook |
Subject: |
Re: [Qemu-devel] [PATCH] SPARC target : Fix carry flag update in addxcc and subxcc ops |
Date: |
Sun, 9 Apr 2006 21:38:48 +0100 |
User-agent: |
KMail/1.9.1 |
On Saturday 08 April 2006 14:46, Even Rouault wrote:
> I send a patch that should fix a bug in the update of carry flag for addxcc
> and subxcc instructions when the carry flag is set before the evaluation of
> the instruction.
> (the fix is identical to what is done in the similar instruction
> op_adcl_T0_T1_cc for arm target)
if ((T0 & 0xffffffff) < (src1 & 0xffffffff))
env->psr |= PSR_CARRY;
Doesn't this condition in addx and the corresponding line in subx need similar
treatment?
Paul