diff options
author | Christoph Müllner <christoph.muellner@vrull.eu> | 2024-04-29 03:06:52 +0200 |
---|---|---|
committer | Christoph Müllner <christoph.muellner@vrull.eu> | 2024-05-15 13:01:45 +0200 |
commit | 5814437b4fcc550697d6e286f49a2f8b108815bf (patch) | |
tree | 8c383d9bb395b614104576977049aabe357fa0b2 /gcc/cp/parser.cc | |
parent | 04cd8ccaec90405ccf7471252c0e06ba7f5437dc (diff) | |
download | gcc-5814437b4fcc550697d6e286f49a2f8b108815bf.zip gcc-5814437b4fcc550697d6e286f49a2f8b108815bf.tar.gz gcc-5814437b4fcc550697d6e286f49a2f8b108815bf.tar.bz2 |
RISC-V: add tests for overlapping mem ops
A recent patch added the field overlap_op_by_pieces to the struct
riscv_tune_param, which is used by the TARGET_OVERLAP_OP_BY_PIECES_P()
hook. This hook is used by the by-pieces infrastructure to decide
if overlapping memory accesses should be emitted.
The changes in the expansion can be seen in the adjustments of the
cpymem test cases. These tests also reveal a limitation in the
RISC-V cpymem expansion that prevents this optimization as only
by-pieces cpymem expansions emit overlapping memory accesses.
gcc/testsuite/ChangeLog:
* gcc.target/riscv/cpymem-32-ooo.c: Adjust for overlapping
access.
* gcc.target/riscv/cpymem-64-ooo.c: Likewise.
Signed-off-by: Christoph Müllner <christoph.muellner@vrull.eu>
Diffstat (limited to 'gcc/cp/parser.cc')
0 files changed, 0 insertions, 0 deletions