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

2018-03-26 Thread Philippe Mathieu-Daudé
On 03/26/2018 02:56 PM, Max Filippov wrote: > The value of CCOUNT special register is calculated as time elapsed > since CCOUNT == 0 multiplied by the core frequency. In icount mode time > increment between consecutive instructions that don't involve time > warps is constant, but unless the result

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

2018-03-26 Thread Max Filippov
The value of CCOUNT special register is calculated as time elapsed since CCOUNT == 0 multiplied by the core frequency. In icount mode time increment between consecutive instructions that don't involve time warps is constant, but unless the result of multiplication of this constant by the core frequ