commit | 56e0e961ec14f7f89f9d5f20e12b61b9510ed1ad | [log] [tgz] |
---|---|---|
author | Yasmin Beatriz <yasmins@linux.ibm.com> | Mon Jul 16 19:03:12 2018 +0000 |
committer | David Gibson <david@gibson.dropbear.id.au> | Tue Aug 21 14:28:45 2018 +1000 |
tree | 0e3de82a4e1a87dada31ea99f4b4f6394c6dc912 | |
parent | 86c0cab11aabb0c2a5cc76825bc05dfe2b367412 [diff] |
target/ppc: bcdsub fix sign when result is zero When the result of bcdsub is equal to zero, the result sign may be set to negative in some cases, and this does not follow the Power ISA specifications as to decimal integer arithmetic instructions. Signed-off-by: Yasmin Beatriz <yasmins@linux.ibm.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>