OSDN Git Service

powerpc sstep: Add support for cnttzw, cnttzd instructions
authorSandipan Das <sandipan@linux.ibm.com>
Fri, 22 Feb 2019 06:53:29 +0000 (12:23 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 25 Feb 2019 13:05:17 +0000 (00:05 +1100)
commit32628b5cf3bcdf31d7e00b0e8229051ee2afe96e
treeeff0fafa6b77197669758dd1698a0efab2784b3d
parenta23987ef267a3549667fed5d69c0174e7fc15910
powerpc sstep: Add support for cnttzw, cnttzd instructions

This adds emulation support for the following integer instructions:
  * Count Trailing Zeros Word (cnttzw[.])
  * Count Trailing Zeros Doubleword (cnttzd[.])

Signed-off-by: Sandipan Das <sandipan@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/lib/sstep.c