Re: [Qemu-devel] [PATCH v4 07/15] target-ppc: implement branch-less divw[o][.]

2016-07-27 Thread David Gibson
On Wed, Jul 27, 2016 at 12:11:08PM +0530, Nikunj A Dadhania wrote: > David Gibson writes: > > > [ Unknown signature status ] > > On Wed, Jul 27, 2016 at 11:47:15AM +0530, Nikunj A Dadhania wrote: > >> David Gibson writes: > >> > >> > [ Unknown signature status ] > >> > On Tue, Jul 26, 2016 at 0

Re: [Qemu-devel] [PATCH v4 07/15] target-ppc: implement branch-less divw[o][.]

2016-07-26 Thread Nikunj A Dadhania
David Gibson writes: > [ Unknown signature status ] > On Wed, Jul 27, 2016 at 11:47:15AM +0530, Nikunj A Dadhania wrote: >> David Gibson writes: >> >> > [ Unknown signature status ] >> > On Tue, Jul 26, 2016 at 05:28:30PM +0530, Nikunj A Dadhania wrote: >> >> While implementing modulo instructi

Re: [Qemu-devel] [PATCH v4 07/15] target-ppc: implement branch-less divw[o][.]

2016-07-26 Thread David Gibson
On Wed, Jul 27, 2016 at 11:47:15AM +0530, Nikunj A Dadhania wrote: > David Gibson writes: > > > [ Unknown signature status ] > > On Tue, Jul 26, 2016 at 05:28:30PM +0530, Nikunj A Dadhania wrote: > >> While implementing modulo instructions figured out that the > >> implementation uses many branch

Re: [Qemu-devel] [PATCH v4 07/15] target-ppc: implement branch-less divw[o][.]

2016-07-26 Thread Nikunj A Dadhania
David Gibson writes: > [ Unknown signature status ] > On Tue, Jul 26, 2016 at 05:28:30PM +0530, Nikunj A Dadhania wrote: >> While implementing modulo instructions figured out that the >> implementation uses many branches. Change the logic to achieve the >> branch-less code. Undefined value is set

Re: [Qemu-devel] [PATCH v4 07/15] target-ppc: implement branch-less divw[o][.]

2016-07-26 Thread David Gibson
On Tue, Jul 26, 2016 at 05:28:30PM +0530, Nikunj A Dadhania wrote: > While implementing modulo instructions figured out that the > implementation uses many branches. Change the logic to achieve the > branch-less code. Undefined value is set to dividend in case of invalid > input. > > Signed-off-by

[Qemu-devel] [PATCH v4 07/15] target-ppc: implement branch-less divw[o][.]

2016-07-26 Thread Nikunj A Dadhania
While implementing modulo instructions figured out that the implementation uses many branches. Change the logic to achieve the branch-less code. Undefined value is set to dividend in case of invalid input. Signed-off-by: Nikunj A Dadhania --- target-ppc/translate.c | 48 +++--