diff options
author | Cédric Le Goater <clg@kaod.org> | 2021-09-20 08:12:03 +0200 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2021-09-30 12:26:06 +1000 |
commit | 4d9b8ef9b5ab880d491b0c41d222b42ed83bdbfe (patch) | |
tree | 201bec0192a3ac479d416a4dccad08bd196afe3b /scripts/qapi/gen.py | |
parent | af96d2e69227fc25f663d840527dbe2a0c592400 (diff) | |
download | qemu-4d9b8ef9b5ab880d491b0c41d222b42ed83bdbfe.zip qemu-4d9b8ef9b5ab880d491b0c41d222b42ed83bdbfe.tar.gz qemu-4d9b8ef9b5ab880d491b0c41d222b42ed83bdbfe.tar.bz2 |
target/ppc: Fix 64-bit decrementer
The current way the mask is built can overflow with a 64-bit decrementer.
Use sextract64() to extract the signed values and remove the logic to
handle negative values which has become useless.
Cc: Luis Fernando Fujita Pires <luis.pires@eldorado.org.br>
Fixes: a8dafa525181 ("target/ppc: Implement large decrementer support for TCG")
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Message-Id: <20210920061203.989563-5-clg@kaod.org>
Reviewed-by: Luis Pires <luis.pires@eldorado.org.br>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'scripts/qapi/gen.py')
0 files changed, 0 insertions, 0 deletions