Fix aarch64 sim bug with adds64, and add testcases for last 3 bug fixes.
authorJim Wilson <jim.wilson@linaro.org>
Tue, 13 Dec 2016 16:35:31 +0000 (08:35 -0800)
committerJim Wilson <jim.wilson@linaro.org>
Tue, 13 Dec 2016 16:44:31 +0000 (08:44 -0800)
commit963201cf5d29c4dc718b5fb3507e085b302ff896
tree399bbe473e1c5cbd0ea5d16902081b6e8ac82eed
parent9282b95ab7bfe1cdf471e9dd609ae0ea7bbed925
Fix aarch64 sim bug with adds64, and add testcases for last 3 bug fixes.

sim/aarch64
* simulator.c (NEG, POS): Move before set_flags_for_add64.
(set_flags_for_add64): Replace with a modified copy of
set_flags_for_sub64.

sim/testsuite/sim/aarch64
* testutils.inc (pass): Move .Lpass to start.
(fail): Move .Lfail to start.  Return 1 instead of 0.
(start): Moved .Lpass and .Lfail to here.
* adds.s: New.
* fstur.s: New.
* tbnz.s: New.
sim/aarch64/ChangeLog
sim/aarch64/simulator.c
sim/testsuite/sim/aarch64/ChangeLog
sim/testsuite/sim/aarch64/adds.s [new file with mode: 0644]
sim/testsuite/sim/aarch64/fstur.s [new file with mode: 0644]
sim/testsuite/sim/aarch64/tbnz.s [new file with mode: 0644]
sim/testsuite/sim/aarch64/testutils.inc