diff options
author | xuli <xuli1@eswincomputing.com> | 2024-05-20 01:56:47 +0000 |
---|---|---|
committer | xuli <xuli1@eswincomputing.com> | 2024-05-22 00:53:36 +0000 |
commit | ffab721f3c9ecbb9831844d844ad257b69a77993 (patch) | |
tree | c1009450897789db19731c2e96752b01500b65dc /gcc/except.cc | |
parent | 292fc21a8d7aa2f16e61ac941e22ada6ddd85500 (diff) | |
download | gcc-ffab721f3c9ecbb9831844d844ad257b69a77993.zip gcc-ffab721f3c9ecbb9831844d844ad257b69a77993.tar.gz gcc-ffab721f3c9ecbb9831844d844ad257b69a77993.tar.bz2 |
RISC-V: Enable vectorization for vect-early-break_124-pr114403.c
Because "targetm.slow_unaligned_access" is set to true by default
(aka -mtune=rocket) for RISC-V, it causes the __builtin_memcpy with
8 bytes failed to folded into int64 assignment during ccp1.
So adding "-mtune=generic-ooo" to the RISC-V target can vectorize
vect-early-break_124-pr114403.c.
gcc/testsuite/ChangeLog:
* gcc.dg/vect/vect-early-break_124-pr114403.c: Enable vectrization for RISC-V target.
Diffstat (limited to 'gcc/except.cc')
0 files changed, 0 insertions, 0 deletions