OSDN Git Service

target-ppc: Implement bcdcfsq. instruction
authorJose Ricardo Ziviani <joserz@linux.vnet.ibm.com>
Fri, 25 Nov 2016 03:53:30 +0000 (01:53 -0200)
committerDavid Gibson <david@gibson.dropbear.id.au>
Mon, 30 Jan 2017 23:10:12 +0000 (10:10 +1100)
commita406c058e7ae2470facf0db85dbd91ae5df634fc
tree3f11415ec394d17f40ef5232015c40c1b683f53d
parentd59ba5838073226312a34074d4b15c6acc4a228d
target-ppc: Implement bcdcfsq. instruction

bcdcfsq.: Decimal convert from signed quadword. It is not possible
to convert values less than -10^31-1 or greater than 10^31-1 to be
represented in packed decimal format.

Signed-off-by: Jose Ricardo Ziviani <joserz@linux.vnet.ibm.com>
[dwg: Corrected constant which should be 10^16-1 but was 10^17-1]
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