[PATCH] D27251: [PPC] some bugs mainly about sign problem fixed in altivec.h
ZiXuan Wu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 30 03:17:24 PST 2016
Zeson created this revision.
Zeson added reviewers: nemanjai, sfertile, jtony, hfinkel, syzaara, lei, kbarton.
Zeson added a subscriber: cfe-commits.
It's mainly about signed and unsigned llvm builtins confusion.
When function args are bool vector and signed vector, it should be mapped to signed version instruction.
reference: ALTIVECPIM.pdf <http://www.nxp.com/assets/documents/data/en/reference-manuals/ALTIVECPIM.pdf>
https://reviews.llvm.org/D27251
Files:
lib/Headers/altivec.h
test/CodeGen/builtins-ppc-altivec.c
test/CodeGen/builtins-ppc-p8vector.c
test/CodeGen/builtins-ppc-vsx.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27251.79715.patch
Type: text/x-patch
Size: 41913 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20161130/cbfc1252/attachment-0001.bin>
More information about the cfe-commits
mailing list