aboutsummaryrefslogtreecommitdiff
path: root/gcc/go
diff options
context:
space:
mode:
authorRobin Dapp <rdapp@ventanamicro.com>2023-05-10 09:52:37 +0200
committerRobin Dapp <rdapp@ventanamicro.com>2023-05-11 14:23:26 +0200
commit84d2899638a7207bc01159553e9489de7d65b494 (patch)
tree6f1292ca20be3e053ba9312695fa9cbe2823d6c6 /gcc/go
parentb75c9e10379481b1b1e9dfdcc6aa81c9ba58cb1a (diff)
downloadgcc-84d2899638a7207bc01159553e9489de7d65b494.zip
gcc-84d2899638a7207bc01159553e9489de7d65b494.tar.gz
gcc-84d2899638a7207bc01159553e9489de7d65b494.tar.bz2
RISC-V: Clarify vlmax and length handling.
This patch tries to improve the wrappers that emit either vlmax or non-vlmax operations. Now, emit_len_op can be used to emit a regular operation. Depending on whether a length != NULL is passed either no VLMAX flags are set or we emit a vsetvli and set VLMAX flags. The patch also adds some comments that describes some of the rationale of the current handling of vlmax/nonvlmax operations. gcc/ChangeLog: * config/riscv/autovec.md: Use renamed functions. * config/riscv/riscv-protos.h (emit_vlmax_op): Rename. (emit_vlmax_reg_op): To this. (emit_nonvlmax_op): Rename. (emit_len_op): To this. (emit_nonvlmax_binop): Rename. (emit_len_binop): To this. * config/riscv/riscv-v.cc (emit_pred_op): Add default parameter. (emit_pred_binop): Remove vlmax_p. (emit_vlmax_op): Rename. (emit_vlmax_reg_op): To this. (emit_nonvlmax_op): Rename. (emit_len_op): To this. (emit_nonvlmax_binop): Rename. (emit_len_binop): To this. (sew64_scalar_helper): Use renamed functions. (expand_tuple_move): Use renamed functions. * config/riscv/riscv.cc (vector_zero_call_used_regs): Use renamed functions. * config/riscv/vector.md: Use renamed functions.
Diffstat (limited to 'gcc/go')
0 files changed, 0 insertions, 0 deletions