aboutsummaryrefslogtreecommitdiff
path: root/target/mips/translate_init.inc.c
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 /target/mips/translate_init.inc.c
parent71c55a1eefef66cfc8afd686184d6371e35352cb (diff)
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 'target/mips/translate_init.inc.c')
0 files changed, 0 insertions, 0 deletions