[PATCH] Add Clang support for PPC cryptography builtins
Nemanja Ivanovic
nemanja.i.ibm at gmail.com
Fri Feb 27 11:48:48 PST 2015
Hi hfinkel, wschmidt, echristo, kbarton,
This patch adds support for the PowerPC cryptography builtin functions to Clang. The support is meant to be gcc compatible as much as makes sense. The -m[no-]crypto option is added along with the corresponding predefined macro. The only place where this intentionally differs from gcc is that the option does not disable all of the builtins (only the ones that require Category:Vector.Crypto in the ISA document).
REPOSITORY
rL LLVM
http://reviews.llvm.org/D7951
Files:
include/clang/Basic/BuiltinsPPC.def
include/clang/Driver/Options.td
lib/Basic/Targets.cpp
lib/CodeGen/CGBuiltin.cpp
lib/Headers/altivec.h
test/CodeGen/builtins-ppc-crypto-diag.c
test/CodeGen/builtins-ppc-crypto-disabled.c
test/CodeGen/builtins-ppc-crypto.c
test/Preprocessor/predefined-arch-macros.c
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7951.20873.patch
Type: text/x-patch
Size: 24659 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150227/b3dcc961/attachment.bin>
More information about the cfe-commits
mailing list