OSDN Git Service

target-ppc: Implement bcdctn. instruction
authorJose Ricardo Ziviani <joserz@linux.vnet.ibm.com>
Tue, 8 Nov 2016 16:50:23 +0000 (14:50 -0200)
committerDavid Gibson <david@gibson.dropbear.id.au>
Mon, 14 Nov 2016 23:06:48 +0000 (10:06 +1100)
commite2106d73d06d33c3e270535a5f69ff081760a267
tree3679de2ba440716391a20c5c610b1e0724cb4432
parentb81558724f66807cfe2262707b2cd4ad457693b7
target-ppc: Implement bcdctn. instruction

bcdctn. converts from BCD to National numeric format. National format
uses a byte to represent a digit where the most significant nibble is
always 0x3 and the least sign. nibbles is the digit itself.

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