Re: [Qemu-devel] [PATCH v2 6/7] target-ppc: Implement bcdtrunc. instruction

2016-12-07 Thread David Gibson
On Tue, Dec 06, 2016 at 05:40:09PM -0200, Jose Ricardo Ziviani wrote: > 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 > --- > targe

[Qemu-devel] [PATCH v2 6/7] target-ppc: Implement bcdtrunc. instruction

2016-12-06 Thread Jose Ricardo Ziviani
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 --- target-ppc/helper.h | 1 + target-ppc/int_helper.c | 43