diff options
author | Pan Li <pan2.li@intel.com> | 2023-08-03 09:30:24 +0800 |
---|---|---|
committer | Pan Li <pan2.li@intel.com> | 2023-08-03 11:04:36 +0800 |
commit | 373600087df596b26c10d18eb0c5082c2788808b (patch) | |
tree | 2e883f0c5e97344a265d5e38e38c70c0a150ee80 /gcc/value-range.h | |
parent | ff36932e4d6638e475d5c343c3032728f9925d3f (diff) | |
download | gcc-373600087df596b26c10d18eb0c5082c2788808b.zip gcc-373600087df596b26c10d18eb0c5082c2788808b.tar.gz gcc-373600087df596b26c10d18eb0c5082c2788808b.tar.bz2 |
RISC-V: Support RVV VFMUL rounding mode intrinsic API
Update in v2:
* Sync with upstream for the vfmul duplicated declaration.
Original log:
This patch would like to support the rounding mode API for the VFMUL
for the below samples.
* __riscv_vfmul_vv_f32m1_rm
* __riscv_vfmul_vv_f32m1_rm_m
* __riscv_vfmul_vf_f32m1_rm
* __riscv_vfmul_vf_f32m1_rm_m
Signed-off-by: Pan Li <pan2.li@intel.com>
gcc/ChangeLog:
* config/riscv/riscv-vector-builtins-bases.cc
(vfmul_frm_obj): New declaration.
(Base): Likewise.
* config/riscv/riscv-vector-builtins-bases.h: Likewise.
* config/riscv/riscv-vector-builtins-functions.def
(vfmul_frm): New function definition.
* config/riscv/vector.md: Add vfmul to frm_mode.
gcc/testsuite/ChangeLog:
* gcc.target/riscv/rvv/base/float-point-single-mul.c: New test.
Diffstat (limited to 'gcc/value-range.h')
0 files changed, 0 insertions, 0 deletions