mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-28 20:43:45 +08:00
* armemu.c (Multiply64): Fix computation of flag N.
This commit is contained in:
parent
ee9a777240
commit
f9c22bc3a4
@ -1,5 +1,7 @@
|
|||||||
2000-06-22 Alexandre Oliva <aoliva@cygnus.com>
|
2000-06-22 Alexandre Oliva <aoliva@cygnus.com>
|
||||||
|
|
||||||
|
* armemu.c (Multiply64): Fix computation of flag N.
|
||||||
|
|
||||||
* armemu.c (MultiplyAdd64): Fix computation of flag N.
|
* armemu.c (MultiplyAdd64): Fix computation of flag N.
|
||||||
|
|
||||||
2000-06-20 Alexandre Oliva <aoliva@cygnus.com>
|
2000-06-20 Alexandre Oliva <aoliva@cygnus.com>
|
||||||
|
@ -3819,10 +3819,9 @@ Multiply64 (ARMul_State * state, ARMword instr, int msigned, int scc)
|
|||||||
|
|
||||||
if (scc)
|
if (scc)
|
||||||
{
|
{
|
||||||
if ((RdHi == 0) && (RdLo == 0))
|
/* Ensure that both RdHi and RdLo are used to compute Z, but
|
||||||
ARMul_NegZero (state, RdHi); /* zero value */
|
don't let RdLo's sign bit make it to N. */
|
||||||
else
|
ARMul_NegZero (state, RdHi | (RdLo >> 16) | (RdLo & 0xFFFF));
|
||||||
ARMul_NegZero (state, scc); /* non-zero value */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* The cycle count depends on whether the instruction is a signed or
|
/* The cycle count depends on whether the instruction is a signed or
|
||||||
|
Loading…
Reference in New Issue
Block a user