powerpc: Don't update CR0 in emulation of popcnt, prty, bpermd instructions
commit5762e08344bd7c5bfc41030f74c4ab6ce6e461d0
authorPaul Mackerras <paulus@ozlabs.org>
Wed, 30 Aug 2017 04:12:30 +0000 (30 14:12 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 1 Sep 2017 06:39:50 +0000 (1 16:39 +1000)
tree98eb258e2e8b09cc84932ffd7b65cd3c87bf37ba
parentf1bbb99f41e06d5ba93ea8eafacd96a7a71d0c7d
powerpc: Don't update CR0 in emulation of popcnt, prty, bpermd instructions

The architecture shows the least-significant bit of the instruction
word as reserved for the popcnt[bwd], prty[wd] and bpermd
instructions, that is, these instructions never update CR0.
Therefore this changes the emulation of these instructions to
skip the CR0 update.

Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/lib/sstep.c