diff options
author | Nicholas Piggin <npiggin@gmail.com> | 2023-08-08 14:19:54 +1000 |
---|---|---|
committer | Cédric Le Goater <clg@kaod.org> | 2023-09-06 11:19:33 +0200 |
commit | ea62f8a5172cf5fcd97df143b758730f6865a625 (patch) | |
tree | c3337779b29c13eb668edd7c113ada1dfad134ce /accel/accel-user.c | |
parent | 30d0647bcfa99d4a141eaa843a9fb5b091ddbb76 (diff) | |
download | qemu-ea62f8a5172cf5fcd97df143b758730f6865a625.zip qemu-ea62f8a5172cf5fcd97df143b758730f6865a625.tar.gz qemu-ea62f8a5172cf5fcd97df143b758730f6865a625.tar.bz2 |
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>
Diffstat (limited to 'accel/accel-user.c')
0 files changed, 0 insertions, 0 deletions