summaryrefslogtreecommitdiff
path: root/libcc1/libcc1.sym
diff options
context:
space:
mode:
authorJuzhe-Zhong <juzhe.zhong@rivai.ai>2023-05-17 09:51:43 +0800
committerPan Li <pan2.li@intel.com>2023-05-17 22:53:42 +0800
commit01d62e9b6c3e9fd3132f1616843103ccf81778ed (patch)
treee5348fb0955079f2ddd7c3a2d8397de575679d05 /libcc1/libcc1.sym
parentf513a10e4df44d7bcc8d1c2659ec8660ac938f9e (diff)
downloadgcc-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