diff options
author | Nick Clifton <nickc@redhat.com> | 2002-08-29 16:59:20 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2002-08-29 16:59:20 +0000 |
commit | e551c2572e97cf7ab0a431f5a1f25207d9a4d179 (patch) | |
tree | b2a67edac542e66bf508e95cdaa04e1fb46256d2 /sim/v850/simops.c | |
parent | 07c988968aac519ba013f6e22f881d9d66fdfa44 (diff) | |
download | gdb-e551c2572e97cf7ab0a431f5a1f25207d9a4d179.zip gdb-e551c2572e97cf7ab0a431f5a1f25207d9a4d179.tar.gz gdb-e551c2572e97cf7ab0a431f5a1f25207d9a4d179.tar.bz2 |
Makefile.in: Add gen-zero-r0 option.
sim-main.h (GPR_SET, GPR_CLEAR): Define.
simops.c (OP_24007E0): Sign extend the imm9 operand of a mul instruction.
Diffstat (limited to 'sim/v850/simops.c')
-rw-r--r-- | sim/v850/simops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/v850/simops.c b/sim/v850/simops.c index 9a83d07..d8a4d58 100644 --- a/sim/v850/simops.c +++ b/sim/v850/simops.c @@ -2458,7 +2458,7 @@ OP_24007E0 (void) { trace_input ("mul", OP_IMM_REG_REG, 0); - Multiply64 (true, (OP[3] & 0x1f) | ((OP[3] >> 13) & 0x1e0)); + Multiply64 (true, SEXT9 ((OP[3] & 0x1f) | ((OP[3] >> 13) & 0x1e0))); trace_output (OP_IMM_REG_REG); |