[PATCH] D26546: [PPC] Add vec_insert4b/vec_extract4b to altivec.h

Sean Fertile via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 21 12:57:02 PST 2016


sfertile updated this revision to Diff 78760.
sfertile added a comment.

Moved the endian related massaging from altivec.h into Clang codegen and clamped the input index into the valid range [0, 12].


Repository:
  rL LLVM

https://reviews.llvm.org/D26546

Files:
  include/clang/Basic/BuiltinsPPC.def
  lib/CodeGen/CGBuiltin.cpp
  lib/Headers/altivec.h
  test/CodeGen/builtins-ppc-p9vector.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D26546.78760.patch
Type: text/x-patch
Size: 5705 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20161121/57149b46/attachment.bin>


More information about the cfe-commits mailing list