[Power9] Add missing instructions: extswsli, popcntb

Authored by stefanp on Aug 31 2017, 9:57 AM.



Added the following instructions:

  • extswsli
  • extswsli.
  • popcntb

Diff Detail

stefanp created this revision.Aug 31 2017, 9:57 AM
nemanjai added inline comments.Aug 31 2017, 3:02 PM
646 ↗(On Diff #113423)

This isn't the right instruction format to use as far as I can tell. This instruction *does not* modify CARRY according to the ISA.

stefanp updated this revision to Diff 113538.Sep 1 2017, 6:55 AM

Fixed according to Nemanja's comment.

The update to the EXTSWSLI definition looks fine. However, you'll want to coordinate with https://reviews.llvm.org/D37404 for POPCNTB.

echristo accepted this revision.Sep 12 2017, 3:49 PM

Let's go ahead with this one for now. Sam's patch can go on after if we decide to go with a C API way of accessing this rather than just inline assembly.



This revision is now accepted and ready to land.Sep 12 2017, 3:49 PM
This revision was automatically updated to reflect the committed changes.