]> 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)
commit413f6f8d7dbc31f8dbfb527c361b0357063338b1
tree7272ef26038662808e496080338d5813ddb3c7dd
parentd1bde3c2154f80a309ddb35510bb09ca812937db
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