Fix for MUL instruction on the v850
authorJeff Law <jeffreyalaw@gmail.com>
Wed, 30 Mar 2022 00:05:51 +0000 (20:05 -0400)
committerJeff Law <jeffreyalaw@gmail.com>
Wed, 30 Mar 2022 00:08:35 +0000 (20:08 -0400)
commit5321c31bc78379a33f07dc7bef9256d05b942ad7
tree6b645d1443adc5e72097b29fec1a9f584c60b6a7
parentc09115ad6e3531be5fc779098a093605622b161e
Fix for MUL instruction on the v850

* sim/v850/simops.c (Multiply64): Properly test if we need to
negate either of the operands.

* sim/testsuite/v850/mul.cgs: New test.
sim/testsuite/v850/mul.cgs [new file with mode: 0644]
sim/v850/simops.c