Clément Chigot f10827a845 hw/ppc: fix decrementer with BookE timers
The BookE decrementer stops at 0, meaning that it won't decremented
towards "negative" values. However, the current logic is inverted: decr
is updated solely when the resulting value would be negative.

Signed-off-by: Clément Chigot <chigot@adacore.com>
Fixes: 8e0a5ac87800 ("hw/ppc: Avoid decrementer rounding errors")
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
2024-11-04 09:09:21 +10:00
..
2024-10-03 19:33:23 +02:00
2024-10-03 19:33:23 +02:00
2024-10-03 19:33:23 +02:00
2024-10-03 19:33:23 +02:00
2024-10-03 19:33:23 +02:00
2024-10-03 19:33:23 +02:00
2024-07-26 09:21:06 +10:00
2024-10-03 19:33:23 +02:00