[PATCH] Add Clang support for PPC cryptography builtins

Nemanja Ivanovic nemanja.i.ibm at gmail.com
Fri Feb 27 12:39:00 PST 2015


Hi hfinkel, wschmidt, echristo, kbarton,

This patch is related to D7951 and adds the support in the back end. There isn't a whole lot out of the ordinary here, the builtins are provided as long as the target has FeatureP8Crypto (or FeatureP8Altivec for those instructions that do not require implementation of Category:Vector.Crypto). There are some new instruction formats, new intrinsic formats and support for a 1-bit immediate.

REPOSITORY
  rL LLVM

http://reviews.llvm.org/D7955

Files:
  include/llvm/IR/IntrinsicsPowerPC.td
  lib/Target/PowerPC/AsmParser/PPCAsmParser.cpp
  lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp
  lib/Target/PowerPC/InstPrinter/PPCInstPrinter.h
  lib/Target/PowerPC/PPC.td
  lib/Target/PowerPC/PPCInstrAltivec.td
  lib/Target/PowerPC/PPCInstrFormats.td
  lib/Target/PowerPC/PPCInstrInfo.td
  lib/Target/PowerPC/PPCSubtarget.cpp
  lib/Target/PowerPC/PPCSubtarget.h
  lib/Target/PowerPC/README_ALTIVEC.txt
  test/CodeGen/PowerPC/crypto_bifs.ll
  test/MC/Disassembler/PowerPC/ppc64-encoding-vmx.txt
  test/MC/PowerPC/ppc64-encoding-vmx.s

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7955.20882.patch
Type: text/x-patch
Size: 30080 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150227/98da1c6c/attachment.bin>


More information about the llvm-commits mailing list