[PATCH] D37342: [Power9] Add missing instructions: extswsli, popcntb

Nemanja Ivanovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 31 15:02:14 PDT 2017


nemanjai added inline comments.


================
Comment at: lib/Target/PowerPC/PPCInstr64Bit.td:646
+
+defm EXTSWSLI : XSForm_1rc<31, 445, (outs g8rc:$rA), (ins g8rc:$rS, u6imm:$SH),
+                          "extswsli", "$rA, $rS, $SH", IIC_IntRotateDI,
----------------
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.


https://reviews.llvm.org/D37342





More information about the llvm-commits mailing list