summaryrefslogtreecommitdiff
path: root/arch/powerpc/lib/checksum_wrappers.c
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@ozlabs.org>2017-08-30 14:12:30 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2017-09-01 16:39:50 +1000
commit5762e08344bd7c5bfc41030f74c4ab6ce6e461d0 (patch)
tree98eb258e2e8b09cc84932ffd7b65cd3c87bf37ba /arch/powerpc/lib/checksum_wrappers.c
parentf1bbb99f41e06d5ba93ea8eafacd96a7a71d0c7d (diff)
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>
Diffstat (limited to 'arch/powerpc/lib/checksum_wrappers.c')
0 files changed, 0 insertions, 0 deletions