diff options
author | Juzhe-Zhong <juzhe.zhong@rivai.ai> | 2023-05-17 09:51:43 +0800 |
---|---|---|
committer | Pan Li <pan2.li@intel.com> | 2023-05-17 22:53:42 +0800 |
commit | 01d62e9b6c3e9fd3132f1616843103ccf81778ed (patch) | |
tree | e5348fb0955079f2ddd7c3a2d8397de575679d05 /libcc1/libcc1.sym | |
parent | f513a10e4df44d7bcc8d1c2659ec8660ac938f9e (diff) | |
download | gcc-01d62e9b6c3e9fd3132f1616843103ccf81778ed.tar.gz |
RISC-V: Add rounding mode enum for fixed-point intrinsics
Hi, since fixed-point with modeling rounding mode intrinsics are coming:
https://github.com/riscv-non-isa/rvv-intrinsic-doc/pull/222
I am adding vxrm rounding mode enum to user first before the API intrinsic.
This patch is simple && obvious.
Ok for trunk ?
gcc/ChangeLog:
* config/riscv/riscv-vector-builtins.cc (register_vxrm): New function.
(DEF_RVV_VXRM_ENUM): New macro.
(handle_pragma_vector): Add vxrm enum register.
* config/riscv/riscv-vector-builtins.def (DEF_RVV_VXRM_ENUM): New macro.
(RNU): Ditto.
(RNE): Ditto.
(RDN): Ditto.
(ROD): Ditto.
gcc/testsuite/ChangeLog:
* gcc.target/riscv/rvv/base/vxrm-1.c: New test.
Diffstat (limited to 'libcc1/libcc1.sym')
0 files changed, 0 insertions, 0 deletions