diff options
author | Nikunj A Dadhania <nikunj@linux.vnet.ibm.com> | 2016-07-28 23:44:11 +0530 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2016-09-07 12:40:11 +1000 |
commit | b07c32dc4bdda102803ed6699438fef059c8f408 (patch) | |
tree | c29dd624ba0afdc3945eace5340ace9ac6741cd4 /target-ppc/mmu_helper.c | |
parent | 5817355ed0d989c72713d89c8d1e9133ec376485 (diff) |
target-ppc: implement branch-less divw[o][.]
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 <nikunj@linux.vnet.ibm.com>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'target-ppc/mmu_helper.c')
0 files changed, 0 insertions, 0 deletions