diff options
author | Stefan Schulze Frielinghaus <stefansf@linux.ibm.com> | 2023-05-16 08:34:28 +0200 |
---|---|---|
committer | Stefan Schulze Frielinghaus <stefansf@linux.ibm.com> | 2023-05-16 08:34:28 +0200 |
commit | c4dbea65b2777735551727d56f59a26f8ce2de0a (patch) | |
tree | 4787df305a714b97b1f6a8e6434e1a22801ad198 /gcc/testsuite/gcc.target/riscv/rvv/autovec/series-1.c | |
parent | 5154171e1f3aa4aa120cee3ecf0347cd72a427fb (diff) | |
download | gcc-c4dbea65b2777735551727d56f59a26f8ce2de0a.tar.gz |
s390: Refactor block operation setmem
Vectorize memset with a constant length of less than or equal to 64
bytes.
Do not perform a libc function call into memset in case the size is not
a compile-time constant but bounded and the upper bound is less than or
equal to 256 bytes.
gcc/ChangeLog:
* config/s390/s390-protos.h (s390_expand_setmem): Change
function signature.
* config/s390/s390.cc (s390_expand_setmem): For memset's less
than or equal to 256 byte do not perform a libc call.
* config/s390/s390.md: Change expander into a version which
takes 8 operands.
gcc/testsuite/ChangeLog:
* gcc.target/s390/memset-1.c: Test case memset1 makes use of
vst, now.
Diffstat (limited to 'gcc/testsuite/gcc.target/riscv/rvv/autovec/series-1.c')
0 files changed, 0 insertions, 0 deletions