diff options
author | Jose Ricardo Ziviani <joserz@linux.vnet.ibm.com> | 2017-01-10 00:10:12 -0200 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2017-01-31 10:10:14 +1100 |
commit | a54238adac8e6fc4ba8bffe8299216b73ef3d3ee (patch) | |
tree | 99e324e66d452da92a8b5e5b7ae8280f0a9aaa4f /target/ppc/translate/vsx-ops.inc.c | |
parent | a49a95e9e4dc2652cdc8a1e4fb1bfb66dba2e1d8 (diff) | |
download | qemu-a54238adac8e6fc4ba8bffe8299216b73ef3d3ee.tar.gz |
ppc: Implement bcdsr. instruction
bcdsr.: Decimal shift and round. This instruction works like bcds.
however, when performing right shift, 1 will be added to the
result if the last digit was >= 5.
Signed-off-by: Jose Ricardo Ziviani <joserz@linux.vnet.ibm.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'target/ppc/translate/vsx-ops.inc.c')
0 files changed, 0 insertions, 0 deletions