commit | dcbd19b48d315a8bbf6b2b3dbdc643c747c8a7ee | [log] [tgz] |
---|---|---|
author | Matt Brown <matthew.brown.dev@gmail.com> | Mon Jul 31 10:58:23 2017 +1000 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Thu Aug 10 22:30:27 2017 +1000 |
tree | 05311ea34c7382dc99e10a10f9aea4d3d3d37985 | |
parent | 02c0f62a60b67d6c9bfe9429cbe3aa034b6c6676 [diff] |
powerpc/lib/sstep: Add popcnt instruction emulation This adds emulations for the popcntb, popcntw, and popcntd instructions. Tested for correctness against the popcnt{b,w,d} instructions 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>