Index: ChangeLog
authorDJ Delorie <dj@redhat.com>
Wed, 6 Feb 2008 00:40:05 +0000 (00:40 +0000)
committerDJ Delorie <dj@redhat.com>
Wed, 6 Feb 2008 00:40:05 +0000 (00:40 +0000)
commitc5fbc25baf8de20a337383d4785dd4e15da428b0
tree949d697d1bf9d65ba3a3bbabde25ec43fe9c9c49
parente5c4eb7a6c1d03decdb318b5a9e43719f207f460
Index: ChangeLog

* configure.ac (v850): V850 now has a testsuite.
* configure (v850): Likewise.

Index: testsuite/ChangeLog

* sim/v850/: New directory.
* sim/v850/allinsns.exp: New.
* sim/v850/bsh.cgs: New.
* sim/v850/div.cgs: New.
* sim/v850/divh.cgs: New.
* sim/v850/divh_3.cgs: New.
* sim/v850/divhu.cgs: New.
* sim/v850/divu.cgs: New.
* sim/v850/sar.cgs: New.
* sim/v850/satadd.cgs: New.
* sim/v850/satsub.cgs: New.
* sim/v850/satsubi.cgs: New.
* sim/v850/satsubr.cgs: New.
* sim/v850/shl.cgs: New.
* sim/v850/shr.cgs: New.
* sim/v850/testutils.cgs: New.
* sim/v850/testutils.inc: New.

Index: v850/ChangeLog

* simops.c (OP_C0): Correct saturation logic.
(OP_220): Likewise.
(OP_A0): Likewise.
(OP_660): Likewise.
(OP_80): Likewise.

* simops.c (OP_2A0): If the shift count is zero, clear the
carry.
(OP_A007E0): Likewise.
(OP_2C0): Likewise.
(OP_C007E0): Likewise.
(OP_280): Likewise.
(OP_8007E0): Likewise.

* simops.c (OP_2C207E0): Correct PSW flags for special divu
conditions.
(OP_2C007E0): Likewise, for div.
(OP_28207E0): Likewise, for divhu.
(OP_28007E0): Likewise, for divh.  Also, sign-extend the correct
operand.
* v850.igen (divh): Likewise, for 2-op divh.

* v850.igen (bsh): Fix carry logic.
23 files changed:
sim/ChangeLog
sim/configure
sim/configure.ac
sim/testsuite/ChangeLog
sim/testsuite/sim/v850/allinsns.exp [new file with mode: 0644]
sim/testsuite/sim/v850/bsh.cgs [new file with mode: 0644]
sim/testsuite/sim/v850/div.cgs [new file with mode: 0644]
sim/testsuite/sim/v850/divh.cgs [new file with mode: 0644]
sim/testsuite/sim/v850/divh_3.cgs [new file with mode: 0644]
sim/testsuite/sim/v850/divhu.cgs [new file with mode: 0644]
sim/testsuite/sim/v850/divu.cgs [new file with mode: 0644]
sim/testsuite/sim/v850/sar.cgs [new file with mode: 0644]
sim/testsuite/sim/v850/satadd.cgs [new file with mode: 0644]
sim/testsuite/sim/v850/satsub.cgs [new file with mode: 0644]
sim/testsuite/sim/v850/satsubi.cgs [new file with mode: 0644]
sim/testsuite/sim/v850/satsubr.cgs [new file with mode: 0644]
sim/testsuite/sim/v850/shl.cgs [new file with mode: 0644]
sim/testsuite/sim/v850/shr.cgs [new file with mode: 0644]
sim/testsuite/sim/v850/testutils.cgs [new file with mode: 0644]
sim/testsuite/sim/v850/testutils.inc [new file with mode: 0644]
sim/v850/ChangeLog
sim/v850/simops.c
sim/v850/v850.igen