[PATCH] D26544: [PPC] support for arithmetic builtins in the FE

Ehsan Amiri via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 11 05:48:57 PST 2016


amehsan created this revision.
amehsan added reviewers: kbarton, nemanjai, sfertile, jtony, hfinkel, syzaara, lei.
amehsan added subscribers: cfe-commits, echristo.

This includes various overloads of the following builtins:

- vec_neg
- vec_nabs
- vec_adde
- vec_addec
- vec_sube
- vec_subec
- vec_subc

There is a small backend patch as well that I will post separately, but this is independent.


https://reviews.llvm.org/D26544

Files:
  lib/Headers/altivec.h
  test/CodeGen/builtins-ppc-altivec.c
  test/CodeGen/builtins-ppc-p8vector.c
  test/CodeGen/builtins-ppc-quadword.c
  test/CodeGen/builtins-ppc-vsx.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D26544.77608.patch
Type: text/x-patch
Size: 18300 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20161111/532719f0/attachment-0001.bin>


More information about the cfe-commits mailing list