mbox series

[v2,0/2] RISC-V: Vector memcpy/memset fixes and improvements

Message ID 20241104130943.4041719-1-craig.blackmore@embecosm.com
Headers show
Series RISC-V: Vector memcpy/memset fixes and improvements | expand

Message

Craig Blackmore Nov. 4, 2024, 1:09 p.m. UTC
Patch 1-5 of v1 have already been pushed.  This is v2 of patch 6 and 7
of that series.

Changes since v1:
RISC-V: Make vectorized memset handle more cases
* Removed vector memset loop generation.
RISC-V: Disable by pieces for vector setmem length > UNITS_PER_WORD
* No changes.

 gcc/config/riscv/riscv-string.cc              | 37 ++++++++++---------
 gcc/config/riscv/riscv.cc                     | 19 ++++++++++
 .../gcc.target/riscv/rvv/autovec/pr113469.c   |  3 +-
 .../gcc.target/riscv/rvv/base/setmem-2.c      | 12 +++---
 .../gcc.target/riscv/rvv/base/setmem-3.c      | 18 +++++----
 5 files changed, 57 insertions(+), 32 deletions(-)