diff options
author | Lehua Ding <lehua.ding@rivai.ai> | 2023-09-01 10:51:43 +0800 |
---|---|---|
committer | Lehua Ding <lehua.ding@rivai.ai> | 2023-09-01 19:28:42 +0800 |
commit | 4d1c8b04ec8731b57ddbc80d76e40a61d8fa3324 (patch) | |
tree | 4d344125d6851e51b9dddeb7a6f0647cb9df21e6 /gcc/cp | |
parent | c07d82c12f2f17427a89188abad69af195590309 (diff) | |
download | gcc-4d1c8b04ec8731b57ddbc80d76e40a61d8fa3324.zip gcc-4d1c8b04ec8731b57ddbc80d76e40a61d8fa3324.tar.gz gcc-4d1c8b04ec8731b57ddbc80d76e40a61d8fa3324.tar.bz2 |
RISC-V: Adjust expand_cond_len_{unary,binop,op} api
This patch change expand_cond_len_{unary,binop}'s argument `rtx_code code`
to `unsigned icode` and use the icode directly to determine whether the
rounding_mode operand is required.
gcc/ChangeLog:
* config/riscv/autovec.md: Adjust.
* config/riscv/riscv-protos.h (expand_cond_len_unop): Ditto.
(expand_cond_len_binop): Ditto.
* config/riscv/riscv-v.cc (needs_fp_rounding): Ditto.
(expand_cond_len_op): Ditto.
(expand_cond_len_unop): Ditto.
(expand_cond_len_binop): Ditto.
(expand_cond_len_ternop): Ditto.
Diffstat (limited to 'gcc/cp')
0 files changed, 0 insertions, 0 deletions