[PATCH] D17637: [PPC64][VSX] Add short, char, and bool data type for vec_vsx_ld and vec_vsx_st intrinsics

Chuang-Yu Cheng via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 26 00:40:11 PST 2016


cycheng created this revision.
cycheng added reviewers: kbarton, nemanjai, hfinkel.
cycheng added subscribers: cfe-commits, tjablin.

Issue: https://llvm.org/bugs/show_bug.cgi?id=26720

Fix compile error when building ffmpeg for PowerPC64LE because of some vec_vsx_ld/vec_vsx_st intrinsics are not supported by current clang.

New added intrinsics:
  # (vector) {signed|unsigned} {short|char} vec_vsx_ld: (total: 8)
  # bool vec_vsx_ld: (total: 1)
  # (vector) {signed|unsigned} {short|char} vec_vsx_st: (total: 8)
  # bool vec_vsx_st: (total: 1)

Total: 18 intrinsics

http://reviews.llvm.org/D17637

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D17637.49153.patch
Type: text/x-patch
Size: 9882 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160226/567ae3ea/attachment.bin>


More information about the cfe-commits mailing list