diff options
author | Pan Li <pan2.li@intel.com> | 2023-07-12 13:38:42 +0800 |
---|---|---|
committer | Pan Li <pan2.li@intel.com> | 2023-07-13 18:34:40 +0800 |
commit | 880676d603979852f30b76b1e2a3532b95f08048 (patch) | |
tree | 8d0a4c5aff03035c5a4b3f502f5596f7104dda93 /libgomp | |
parent | 43fefc1f832a80370ea142273ebc1a76005c68a0 (diff) | |
download | gcc-880676d603979852f30b76b1e2a3532b95f08048.zip gcc-880676d603979852f30b76b1e2a3532b95f08048.tar.gz gcc-880676d603979852f30b76b1e2a3532b95f08048.tar.bz2 |
RISC-V: Refactor riscv mode after for VXRM and FRM
When investigate the FRM dynmaic rounding mode, we find the global
unknown status is quite different between the fixed-point and
floating-point. Thus, we separate the unknown function with extracting
some inner common functions.
We will also prepare more test cases in another PATCH.
Signed-off-by: Pan Li <pan2.li@intel.com>
gcc/ChangeLog:
* config/riscv/riscv.cc (vxrm_rtx): New static var.
(frm_rtx): Ditto.
(global_state_unknown_p): Removed.
(riscv_entity_mode_after): Removed.
(asm_insn_p): New function.
(vxrm_unknown_p): New function for fixed-point.
(riscv_vxrm_mode_after): Ditto.
(frm_unknown_dynamic_p): New function for floating-point.
(riscv_frm_mode_after): Ditto.
(riscv_mode_after): Leverage new functions.
Diffstat (limited to 'libgomp')
0 files changed, 0 insertions, 0 deletions