Home
last modified time | relevance | path

Searched hist:ea62f8a5 (Results 1 – 1 of 1) sorted by relevance

/qemu/hw/ppc/
H A Dppc.cea62f8a5 Tue Aug 08 04:19:54 GMT 2023 Nicholas Piggin <npiggin@gmail.com> hw/ppc: Read time only once to perform decrementer write

Reading the time more than once to perform an operation always increases
complexity and fragility due to introduced deltas. Simplify the
decrementer write by reading the clock once for the operation.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
ea62f8a5 Tue Aug 08 04:19:54 GMT 2023 Nicholas Piggin <npiggin@gmail.com> hw/ppc: Read time only once to perform decrementer write

Reading the time more than once to perform an operation always increases
complexity and fragility due to introduced deltas. Simplify the
decrementer write by reading the clock once for the operation.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Cédric Le Goater <clg@kaod.org>