commit | 5762e08344bd7c5bfc41030f74c4ab6ce6e461d0 | [log] [tgz] |
---|---|---|
author | Paul Mackerras <paulus@ozlabs.org> | Wed Aug 30 14:12:30 2017 +1000 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Fri Sep 01 16:39:50 2017 +1000 |
tree | 98eb258e2e8b09cc84932ffd7b65cd3c87bf37ba | |
parent | f1bbb99f41e06d5ba93ea8eafacd96a7a71d0c7d [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>