OSDN Git Service

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)
commit02c0f62a60b67d6c9bfe9429cbe3aa034b6c6676
tree7272ef26038662808e496080338d5813ddb3c7dd
parent93fc5ca9a0048c17b47582051940bfdcb516f9f2
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