aboutsummaryrefslogtreecommitdiff
path: root/libgcc
diff options
context:
space:
mode:
authorPan Li <pan2.li@intel.com>2023-06-06 10:07:37 +0800
committerPan Li <pan2.li@intel.com>2023-06-06 10:11:38 +0800
commit7805890428c3b3adfbf37143a262f76b1557e4f0 (patch)
tree62c973417750c182fcd2372f8ba3dbe8c41a404e /libgcc
parent17c796c7174bfc4a13a2aa74714cd295bf228668 (diff)
downloadgcc-7805890428c3b3adfbf37143a262f76b1557e4f0.zip
gcc-7805890428c3b3adfbf37143a262f76b1557e4f0.tar.gz
gcc-7805890428c3b3adfbf37143a262f76b1557e4f0.tar.bz2
RISC-V: Support RVV FP16 ZVFH Reduction floating-point intrinsic API
This patch support the intrinsic API of FP16 ZVFH Reduction floating-point. Aka SEW=16 for below instructions: vfredosum vfredusum vfredmax vfredmin vfwredosum vfwredusum Then users can leverage the instrinsic APIs to perform the FP=16 related reduction operations. Please note not all the instrinsic APIs are coverred in the test files, only pick some typical ones due to too many. We will perform the FP16 related instrinsic API test entirely soon. Signed-off-by: Pan Li <pan2.li@intel.com> gcc/ChangeLog: * config/riscv/riscv-vector-builtins-types.def (vfloat16mf4_t): Add vfloat16mf4_t to WF operations. (vfloat16mf2_t): Likewise. (vfloat16m1_t): Likewise. (vfloat16m2_t): Likewise. (vfloat16m4_t): Likewise. (vfloat16m8_t): Likewise. * config/riscv/vector-iterators.md: Add FP=16 to VWF, VWF_ZVE64, VWLMUL1, VWLMUL1_ZVE64, vwlmul1 and vwlmul1_zve64. gcc/testsuite/ChangeLog: * gcc.target/riscv/rvv/base/zvfh-intrinsic.c: Add new test cases.
Diffstat (limited to 'libgcc')
0 files changed, 0 insertions, 0 deletions