ppc: Implement bcdtrunc. instruction
commit31bc4d114af6030a2ea9de8051f7edf28b4d4291
authorJose Ricardo Ziviani <joserz@linux.vnet.ibm.com>
Thu, 12 Jan 2017 20:08:32 +0000 (12 18:08 -0200)
committerDavid Gibson <david@gibson.dropbear.id.au>
Mon, 30 Jan 2017 23:10:14 +0000 (31 10:10 +1100)
tree9455f1674a07995bf06b2357226f391428165f70
parent8178e89cbc0711d690bbd5b049b1f36212bd5088
ppc: Implement bcdtrunc. instruction

bcdtrunc.: Decimal integer truncate. Given a BCD number in vrb and the
number of bytes to truncate in vra, the return register will have vrb
with such bits truncated.

Signed-off-by: Jose Ricardo Ziviani <joserz@linux.vnet.ibm.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
target/ppc/helper.h
target/ppc/int_helper.c
target/ppc/translate/vmx-impl.inc.c
target/ppc/translate/vmx-ops.inc.c