Re: [Qemu-devel] [PATCH 5/7] target-ppc: Implement bcdsr. instruction

2016-12-04 Thread David Gibson
On Sat, Dec 03, 2016 at 03:00:04AM -0200, Jose Ricardo Ziviani wrote: > 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 > --- > target-pp

[Qemu-devel] [PATCH 5/7] target-ppc: Implement bcdsr. instruction

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