mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2025-02-23 11:04:32 +00:00
* m32c.opc (MATH_OP): When doing subtraction, also set carry if
the result is zero.
This commit is contained in:
parent
692465f151
commit
2b1a61a6cf
@ -1,3 +1,8 @@
|
||||
2010-01-20 DJ Delorie <dj@redhat.com>
|
||||
|
||||
* m32c.opc (MATH_OP): When doing subtraction, also set carry if
|
||||
the result is zero.
|
||||
|
||||
2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
||||
|
||||
* configure: Regenerate.
|
||||
|
@ -125,7 +125,7 @@ prefix (src_allowed, dest_allowed, index_bytewidth)
|
||||
mb = sign_ext (s, dc.bytes * 8); \
|
||||
v = ma op mb op c; \
|
||||
tprintf("%d " #op " %d " #op " %d = %d\n", ma, mb, c, v); \
|
||||
set_oszc (v, dc.bytes, ll > ((1 op 1) ? b2mask[dc.bytes] : 0)); \
|
||||
set_oszc (v, dc.bytes, (1 op 1) ? (ll > b2mask[dc.bytes]) : (ll >= 0)); \
|
||||
put_dest (dc, v); \
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user