[PATCH] D32511: [AArch64] Add ARMv8.2-A FP16 vector intrinsics

Abderrazek Zaafrani via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 25 16:37:33 PDT 2017


az created this revision.
Herald added subscribers: rengolin, aemerson.
Herald added a reviewer: javed.absar.

ARMv8.2-A introduces half-precision floating point data processing. This patch adds the fp16 neon vector intrinsics for this architecture as described in the ARM ACLE document.

Only the intrinsic work is done here. We still need more work to add support for an fp16 data type that is not storage-only so that the backend won't promote the instructions generated by these intrinsics. This patch is a first step toward getting some support for fp16 vector arithmetic on ARMv8.2-A.


https://reviews.llvm.org/D32511

Files:
  clang/include/clang/Basic/arm_neon.td
  clang/lib/Basic/Targets.cpp
  clang/lib/CodeGen/CGBuiltin.cpp
  clang/lib/CodeGen/CodeGenModule.cpp
  clang/lib/CodeGen/CodeGenTypeCache.h
  clang/test/CodeGen/aarch64-neon-intrinsics.c
  clang/test/CodeGen/aarch64-neon-ldst-one.c
  clang/test/CodeGen/arm-v8.2a-neon-intrinsics.c
  clang/utils/TableGen/NeonEmitter.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D32511.96647.patch
Type: text/x-patch
Size: 194622 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170425/c0b2bf98/attachment-0001.bin>


More information about the llvm-commits mailing list