This patch enables some fp16 vector type builtins that don't use fp arithmetic instruction for zvfhmin without zvfh.
Include following builtins:
vector load/store, vector reinterpret, vmerge_vvm, vmv_v.
Paths
| Differential D151869
[RISCV] Enable more builtin for zvfhmin without zvfh ClosedPublic Authored by jacquesguan on Jun 1 2023, 2:03 AM.
Details Summary This patch enables some fp16 vector type builtins that don't use fp arithmetic instruction for zvfhmin without zvfh. vector load/store, vector reinterpret, vmerge_vvm, vmv_v.
Diff Detail
Event Timelinejacquesguan added a parent revision: D150253: [RISCV] Add Zvfhmin extension for clang.Jun 1 2023, 2:03 AM Comment Actions I think the topic of this patch is not accurate. The compiler already support these intrinsics with zvfh specified. Implementing zvfhmin is relaxing the implementation and let some of the intrinsics available when only zvfhmin and not zvfm is specified. So I think we can adjust the patch description a bit. I think you may relax the extension specified, which is currently zvfh, to using zvfhmin, under the existing test cases under clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated to verify your implementation. jacquesguan retitled this revision from [RISCV] Support more builtin for zvfhmin. to [RISCV] Enable more builtin for zvfhmin without zvfh.Aug 24 2023, 2:46 AM This revision is now accepted and ready to land.Sep 7 2023, 1:13 PM This revision was landed with ongoing or failed builds.Sep 7 2023, 7:55 PM Closed by commit rG4d2536c82fc4: [RISCV] Enable more builtin for zvfhmin without zvfh (authored by jacquesguan). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 556223 clang/include/clang/Basic/riscv_vector.td
clang/test/CodeGen/RISCV/rvv-intrinsics-handcrafted/zvfhmin.c
|