]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/lib/sstep: Add cmpb instruction emulation
authorMatt Brown <matthew.brown.dev@gmail.com>
Mon, 31 Jul 2017 00:58:22 +0000 (10:58 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 10 Aug 2017 12:30:26 +0000 (22:30 +1000)
commit1e74671096c74e7e2228372bee3b08f8fd155826
tree7272ef26038662808e496080338d5813ddb3c7dd
parent4e72da3cb3b292528c4a01a3abe7389470d84e4e
powerpc/lib/sstep: Add cmpb instruction emulation

This patch adds emulation of the cmpb instruction, enabling xmon to
emulate this instruction.
Tested for correctness against the cmpb asm instruction on ppc64le.

Signed-off-by: Matt Brown <matthew.brown.dev@gmail.com>
Reviewed-by: Cyril Bur <cyrilbur@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/lib/sstep.c