* am33.igen (sub Rm,Rn,Rd): Fix computation of carry flag.
This commit is contained in:
parent
ade78dba78
commit
be07a3d39e
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2011-06-20 Nick Clifton <nickc@redhat.com>
|
||||||
|
|
||||||
|
* am33.igen (sub Rm,Rn,Rd): Fix computation of carry flag.
|
||||||
|
|
||||||
2011-01-11 Andrew Burgess <aburgess@broadcom.com>
|
2011-01-11 Andrew Burgess <aburgess@broadcom.com>
|
||||||
|
|
||||||
* interp.c (sim_store_register): Update return value to
|
* interp.c (sim_store_register): Update return value to
|
||||||
|
|
|
@ -2573,7 +2573,7 @@
|
||||||
|
|
||||||
z = (difference == 0);
|
z = (difference == 0);
|
||||||
n = (difference & 0x80000000);
|
n = (difference & 0x80000000);
|
||||||
c = (source1 > source1);
|
c = (source1 > source2);
|
||||||
v = ((source1 & 0x80000000) == (source2 & 0x80000000)
|
v = ((source1 & 0x80000000) == (source2 & 0x80000000)
|
||||||
&& (source1 & 0x80000000) != (difference & 0x80000000));
|
&& (source1 & 0x80000000) != (difference & 0x80000000));
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue