aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-phiopt.cc
diff options
context:
space:
mode:
authorJiawei <jiawei@iscas.ac.cn>2022-10-20 17:32:34 +0800
committerKito Cheng <kito.cheng@sifive.com>2022-10-27 11:17:32 +0800
commit6b252dc96b52f5ab6f399c3f6b0c0b6614a36913 (patch)
treee043c93c86e95f1dd20588ef8838e6269cb427f1 /gcc/tree-ssa-phiopt.cc
parentac96e9068ce7dcaca992fde7f1551ffe8837b723 (diff)
downloadgcc-6b252dc96b52f5ab6f399c3f6b0c0b6614a36913.zip
gcc-6b252dc96b52f5ab6f399c3f6b0c0b6614a36913.tar.gz
gcc-6b252dc96b52f5ab6f399c3f6b0c0b6614a36913.tar.bz2
RISC-V: Limit regs use for z*inx extension.
Limit z*inx abi support with 'ilp32','ilp32e','lp64' only. Use GPR instead FPR when 'zfinx' enable, Only use even registers in RV32 when 'zdinx' enable. Enable FLOAT16 when Zhinx/Zhinxmin enabled. Co-Authored-By: Sinan Lin <sinan@isrc.iscas.ac.cn> gcc/ChangeLog: * config/riscv/constraints.md (TARGET_ZFINX ? GR_REGS): Set GPRS use while Zfinx is enable. * config/riscv/riscv.cc (riscv_hard_regno_mode_ok): Limit odd registers use when Zdinx enable in RV32 cases. (riscv_option_override): New target enable MASK_FDIV. (riscv_libgcc_floating_mode_supported_p): New error info when use incompatible arch&abi. (riscv_excess_precision): New target enable FLOAT16.
Diffstat (limited to 'gcc/tree-ssa-phiopt.cc')
0 files changed, 0 insertions, 0 deletions