From 963201cf5d29c4dc718b5fb3507e085b302ff896 Mon Sep 17 00:00:00 2001 From: Jim Wilson Date: Tue, 13 Dec 2016 08:35:31 -0800 Subject: 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 | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'sim/aarch64/ChangeLog') diff --git a/sim/aarch64/ChangeLog b/sim/aarch64/ChangeLog index 2eca54d..2346a49 100644 --- a/sim/aarch64/ChangeLog +++ b/sim/aarch64/ChangeLog @@ -1,3 +1,9 @@ +2016-12-13 Jim Wilson + + * simulator.c (NEG, POS): Move before set_flags_for_add64. + (set_flags_for_add64): Replace with a modified copy of + set_flags_for_sub64. + 2016-12-03 Jim Wilson * simulator.c (tbnz, tbz): Cast 1 to uint64_t before shifting. -- cgit v1.1