[PATCH] D43650: [ARM] Add ARMv8.2-A FP16 vector intrinsics

Abderrazek Zaafrani via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 22 16:02:26 PST 2018


az created this revision.
az added a reviewer: SjoerdMeijer.
Herald added subscribers: kristof.beyls, javed.absar.

This patch adds the fp16 neon vector intrinsic for ARM as described in the ARM ACLE document.

While this patch may seem large at first but it is essentially a modification/addition on top of  some old work by doing this:

- Port AArch64 patch https://reviews.llvm.org/D32511 to ARM.
- Enable the frontend fp16 data type for ARM (which is a revert of patch  https://reviews.llvm.org/D41360).


https://reviews.llvm.org/D43650

Files:
  clang/include/clang/Basic/arm_neon.td
  clang/lib/Basic/Targets/ARM.cpp
  clang/lib/Basic/Targets/ARM.h
  clang/lib/CodeGen/CGBuiltin.cpp
  clang/lib/CodeGen/CodeGenFunction.h
  clang/test/CodeGen/arm-v8.2a-neon-intrinsics.c
  clang/test/CodeGen/arm_neon_intrinsics.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43650.135534.patch
Type: text/x-patch
Size: 91232 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180223/77891f22/attachment-0001.bin>


More information about the cfe-commits mailing list