powerpc sstep: Add support for modsd, modud instructions
authorSandipan Das <sandipan@linux.ibm.com>
Fri, 22 Feb 2019 06:53:32 +0000 (12:23 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 25 Feb 2019 13:05:20 +0000 (00:05 +1100)
commit6324320de609766f79b85b681a53061885bc679d
treeab6108ff562de78a7227ede07ae4e2f2c11cc206
parent6c180071509aacb5989993b435e71e70500b72dd
powerpc sstep: Add support for modsd, modud instructions

This adds emulation support for the following integer instructions:
  * Modulo Signed Doubleword (modsd)
  * Modulo Unsigned Doubleword (modud)

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