diff options
author | chenxiaolong <chenxiaolong@loongson.cn> | 2024-01-05 11:43:28 +0800 |
---|---|---|
committer | Lulu Cheng <chenglulu@loongson.cn> | 2024-01-05 20:28:02 +0800 |
commit | b2de0b84c502245ac11159472729036048ed5130 (patch) | |
tree | 58c89f0ec1aef42e7ba8bb393b2a19a8a0ad3968 /contrib/mark_spam.py | |
parent | 70069fd24b38edcca0773bffd0a6061c018676b7 (diff) | |
download | gcc-b2de0b84c502245ac11159472729036048ed5130.zip gcc-b2de0b84c502245ac11159472729036048ed5130.tar.gz gcc-b2de0b84c502245ac11159472729036048ed5130.tar.bz2 |
LoongArch: testsuite:Added additional vectorization "-mlasx" compilation option.
In the LoongArch architecture, the reason for not adding the 128-bit
vector-width-*hi* instruction template in the GCC back end is that it causes
program performance loss, so we can only add the "-mlasx" compilation option
to use 256-bit vectorization functions in test files.
gcc/testsuite/ChangeLog:
* gcc.dg/vect/bb-slp-pattern-1.c: If you are testing on the
LoongArch architecture, you need to add the "-mlasx" compilation
option to generate vectorized code.
* gcc.dg/vect/slp-widen-mult-half.c: Dito.
* gcc.dg/vect/vect-widen-mult-const-s16.c: Dito.
* gcc.dg/vect/vect-widen-mult-const-u16.c: Dito.
* gcc.dg/vect/vect-widen-mult-half-u8.c: Dito.
* gcc.dg/vect/vect-widen-mult-half.c: Dito.
* gcc.dg/vect/vect-widen-mult-u16.c: Dito.
* gcc.dg/vect/vect-widen-mult-u8-s16-s32.c: Dito.
* gcc.dg/vect/vect-widen-mult-u8-u32.c: Dito.
* gcc.dg/vect/vect-widen-mult-u8.c: Dito.
Diffstat (limited to 'contrib/mark_spam.py')
0 files changed, 0 insertions, 0 deletions