powerpc/lib/sstep: Add bpermd instruction emulation
authorMatt Brown <matthew.brown.dev@gmail.com>
Mon, 31 Jul 2017 00:58:24 +0000 (10:58 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 10 Aug 2017 12:30:27 +0000 (22:30 +1000)
commitf312793dda98df93a113fd4cdeeeb8fc10c6db76
tree530bbf3fc87d55987f4a3774031f43f963c0948b
parentdcbd19b48d315a8bbf6b2b3dbdc643c747c8a7ee
powerpc/lib/sstep: Add bpermd instruction emulation

This adds emulation for the bpermd instruction.
Tested for correctness against the bpermd 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