aboutsummaryrefslogtreecommitdiff
path: root/libcpp
diff options
context:
space:
mode:
authorRobin Dapp <rdapp@ventanamicro.com>2024-02-26 13:09:15 +0100
committerRobin Dapp <rdapp@ventanamicro.com>2024-05-17 22:31:43 +0200
commite0b9c8ad7098fb08a25a61fe17d4274dd73e5145 (patch)
treeb98f1a6072a7035a5d85ba3026a3e3b7f82a643c /libcpp
parent7ca35f2e430081d6ec91e910002f92d9713350fa (diff)
downloadgcc-e0b9c8ad7098fb08a25a61fe17d4274dd73e5145.zip
gcc-e0b9c8ad7098fb08a25a61fe17d4274dd73e5145.tar.gz
gcc-e0b9c8ad7098fb08a25a61fe17d4274dd73e5145.tar.bz2
RISC-V: Add initial cost handling for segment loads/stores.
This patch makes segment loads and stores more expensive. It adds segment_permute_2 as well as 3 to 8 cost fields to the common vector costs and adds handling to adjust_stmt_cost. gcc/ChangeLog: * config/riscv/riscv-protos.h (struct common_vector_cost): Add segment_permute cost. * config/riscv/riscv-vector-costs.cc (costs::adjust_stmt_cost): Handle segment loads/stores. * config/riscv/riscv.cc: Initialize segment_permute_[2-8] to 1. gcc/testsuite/ChangeLog: * gcc.dg/vect/costmodel/riscv/rvv/pr113112-4.c: Adjust test.
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions