Re: [Qemu-devel] [PATCH] target/xtensa: fix timers test

2018-03-23 Thread Philippe Mathieu-Daudé
Hi Max, On 03/23/2018 10:17 AM, Max Filippov wrote: > Change frequency of the core used in tests so that clock cycle takes > exactly 64ns. Change icount power used in tests to 6, so that each > instruction takes exactly 1 clock cycle. With these changes the > assumptions of the xtensa timers test

[Qemu-devel] [PATCH] target/xtensa: fix timers test

2018-03-23 Thread Max Filippov
Change frequency of the core used in tests so that clock cycle takes exactly 64ns. Change icount power used in tests to 6, so that each instruction takes exactly 1 clock cycle. With these changes the assumptions of the xtensa timers test are correct and the test must always pass. Longer story: h