[PATCH] [PATCH][AArch64]Some ACLE pair builtin functions are not handled

Hao Liu Hao.Liu at arm.com
Fri Dec 6 02:19:49 PST 2013


Hi t.p.northover,

Hi Tim and reviewers,

Some ACLE pair builtin functions are only defined in arm_neon.h but not handled except that. So we can't generate coresponding IR and code when calling such intrinsics. 
For example:
    "int32_t vminv_s32(int32x2_t a)" should be matched to an instruction "SMINP Vd.2S,Vn.2S,Vm.2S"
But we only have "vminv_s32" defined in arm_neon.h and missing other process to compile it. Tests about vminv_s32 will be failed.

This patch implements such intrinsics.
Review. Please.

Thanks,
-Hao



http://llvm-reviews.chandlerc.com/D2348

Files:
  lib/Target/AArch64/AArch64InstrNEON.td
  test/CodeGen/AArch64/neon-add-pairwise.ll
  test/CodeGen/AArch64/neon-max-min-pairwise.ll
  test/CodeGen/AArch64/neon-misc.ll
  tools/clang/lib/CodeGen/CGBuiltin.cpp
  tools/clang/test/CodeGen/aarch64-neon-intrinsics.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D2348.1.patch
Type: text/x-patch
Size: 9975 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20131206/abe4c21b/attachment.bin>


More information about the cfe-commits mailing list