Hi Pavel, the commit b39e3f34c9de7ead6a11a74aa2de78baf41d81a7 ("icount: fixed saving/restoring of icount warp timers") has changed something that made timers test for target/xtensa unstable. Specifically ccount_write case in the tests/tcg/xtensa/test_timer.S now fails for me about half of the times it is run. Given that it is run under -icount I guess this is a bug. Could you please take a look?
The minimal test case is available here: http://jcmvbkbc.spb.ru/~dumb/tmp/201803131306/test_timer.tst It is run as qemu-system-xtensa -M sim -cpu dc232b -nographic -semihosting -icount 7 -kernel ./test_timer.tst -- Thanks. -- Max