[clang][BFloat] Add reinterpret cast intrinsics
authorTies Stuij <ties.stuij@arm.com>
Sun, 7 Jun 2020 12:45:16 +0000 (13:45 +0100)
committerTies Stuij <ties.stuij@arm.com>
Sun, 7 Jun 2020 13:32:37 +0000 (14:32 +0100)
commit5945e9799e77c30baffd0da4a9b735262cda3361
treedf279458348b1aaea801c7adfe27c8416c99d859
parent1c2d2c88b4d9f5940f67aaec5490a3f9951f15b3
[clang][BFloat] Add reinterpret cast intrinsics

Summary:
This patch is part of a series implementing the Bfloat16 extension of the
Armv8.6-a architecture, as detailed here:

https://community.arm.com/developer/ip-products/processors/b/processors-ip-blog/posts/arm-architecture-developments-armv8-6-a

The bfloat type, and its properties is specified in the Arm C language
extension specification:

https://developer.arm.com/docs/ihi0055/d/procedure-call-standard-for-the-arm-64-bit-architecture

Subscribers: kristof.beyls, ilya-biryukov, MaskRay, jkorous, arphaman, kadircet, usaxena95, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D79869

The following people contributed to this patch:

- Luke Cheeseman
- Alexandros Lamprineas
- Luke Geeson
- Ties Stuij
clang/include/clang/Basic/arm_neon.td
clang/include/clang/Basic/arm_neon_incl.td
clang/test/CodeGen/aarch64-bf16-reinterpret-intrinsics.c [new file with mode: 0644]
clang/test/CodeGen/arm-bf16-reinterpret-intrinsics.c [new file with mode: 0644]
clang/utils/TableGen/NeonEmitter.cpp