summary refs log tree commit diff stats
path: root/scripts/qapi/commands.py
diff options
context:
space:
mode:
authorYasmin Beatriz <yasmins@linux.ibm.com>2018-07-30 17:09:17 +0000
committerDavid Gibson <david@gibson.dropbear.id.au>2018-08-21 14:28:45 +1000
commitd03b174a839d32f8beef8082753afdcf732be7b6 (patch)
tree80612ef77423e49fe6c28956dc3a320b7e5c42a1 /scripts/qapi/commands.py
parent71c55a1eefef66cfc8afd686184d6371e35352cb (diff)
downloadfocaccia-qemu-d03b174a839d32f8beef8082753afdcf732be7b6.tar.gz
focaccia-qemu-d03b174a839d32f8beef8082753afdcf732be7b6.zip
target/ppc: simplify bcdadd/sub functions
After solving a corner case in bcdsub, this patch simplifies the logic
of both bcdadd/sub instructions by removing some unnecessary local flags.
This commit also rearranges some if-else conditions in bcdadd to make it
easier to read.

Signed-off-by: Yasmin Beatriz <yasmins@linux.ibm.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'scripts/qapi/commands.py')
0 files changed, 0 insertions, 0 deletions