[RISCV][Clang] Add some RVV Floating-Point intrinsic functions.
authorZakk Chen <zakk.chen@sifive.com>
Thu, 8 Apr 2021 15:21:06 +0000 (08:21 -0700)
committerZakk Chen <zakk.chen@sifive.com>
Mon, 12 Apr 2021 02:19:01 +0000 (19:19 -0700)
commit5f7739b60e983dadc3c669b0ddf930d4d8242c4c
tree9fc795e7ba3a9b8605598276237da9a760ea25e6
parent98a3ff9d05250807867be3dd82fdb10ee5c4030a
[RISCV][Clang] Add some RVV Floating-Point intrinsic functions.

Support vfclass, vfmerge, vfrec7, vfrsqrt7, vfsqrt instructions.

Reviewed By: craig.topper

Authored-by: Roger Ferrer Ibanez <rofirrim@gmail.com>
Co-Authored-by: Zakk Chen <zakk.chen@sifive.com>
Differential Revision: https://reviews.llvm.org/D99741
clang/include/clang/Basic/riscv_vector.td
clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfclass.c [new file with mode: 0644]
clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfmerge.c [new file with mode: 0644]
clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfrec7.c [new file with mode: 0644]
clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfrsqrt7.c [new file with mode: 0644]
clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfsqrt.c [new file with mode: 0644]
clang/test/CodeGen/RISCV/rvv-intrinsics/vfclass.c [new file with mode: 0644]
clang/test/CodeGen/RISCV/rvv-intrinsics/vfmerge.c [new file with mode: 0644]
clang/test/CodeGen/RISCV/rvv-intrinsics/vfrec7.c [new file with mode: 0644]
clang/test/CodeGen/RISCV/rvv-intrinsics/vfrsqrt7.c [new file with mode: 0644]
clang/test/CodeGen/RISCV/rvv-intrinsics/vfsqrt.c [new file with mode: 0644]