[PATCH] D17850: Power9 - Implement byte comparison and count trailing zero instructions

Nemanja Ivanovic via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 3 07:09:38 PST 2016


nemanjai created this revision.
nemanjai added reviewers: kbarton, hfinkel, cycheng, amehsan.
nemanjai added a subscriber: llvm-commits.
nemanjai set the repository for this revision to rL LLVM.

This patch implements the following instructions:
cmprb
cmpeqb
cnttzw
cnttzw.
cnttzd
cnttzd.

It also implements a list of P9 specific target features that we will add to when implementing new features so that we don't forget any.
Finally, the patterns for the count trailing zeros are provided because they're obvious.

Repository:
  rL LLVM

http://reviews.llvm.org/D17850

Files:
  lib/Target/PowerPC/PPC.td
  lib/Target/PowerPC/PPCInstr64Bit.td
  lib/Target/PowerPC/PPCInstrFormats.td
  lib/Target/PowerPC/PPCInstrInfo.td
  lib/Target/PowerPC/PPCSubtarget.cpp
  lib/Target/PowerPC/PPCSubtarget.h
  test/MC/Disassembler/PowerPC/ppc64-encoding.txt
  test/MC/PowerPC/ppc64-encoding.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D17850.49734.patch
Type: text/x-patch
Size: 9342 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160303/8220a28c/attachment.bin>


More information about the llvm-commits mailing list