* simops.c (Multiply64): Don't store into register zero.
This commit is contained in:
parent
d30a2be45d
commit
5262de2167
@ -1,3 +1,9 @@
|
||||
start-sanitize-v850e
|
||||
Mon Sep 15 18:44:05 1997 Jim Wilson <wilson@cygnus.com>
|
||||
|
||||
* simops.c (Multiply64): Don't store into register zero.
|
||||
|
||||
start-sanitize-v850e
|
||||
Tue Sep 16 09:02:00 1997 Andrew Cagney <cagney@b1.cygnus.com>
|
||||
|
||||
* Makefile.in (semantics.o): Add dependency.
|
||||
|
@ -414,8 +414,11 @@ Multiply64 (boolean sign, unsigned long op0)
|
||||
RdLo += 1;
|
||||
}
|
||||
|
||||
State.regs[ OP[1] ] = RdLo;
|
||||
State.regs[ OP[2] >> 11 ] = RdHi;
|
||||
/* Don't store into register 0. */
|
||||
if (OP[1])
|
||||
State.regs[ OP[1] ] = RdLo;
|
||||
if (OP[2] >> 11)
|
||||
State.regs[ OP[2] >> 11 ] = RdHi;
|
||||
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user