Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.target/aarch64/sve/cost_model_5.c @ 152:2b5abeee2509
update gcc11
author | anatofuz |
---|---|
date | Mon, 25 May 2020 07:50:57 +0900 |
parents | |
children |
rev | line source |
---|---|
152 | 1 /* { dg-options "-O3 -msve-vector-bits=256" } */ |
2 | |
3 void | |
4 vset (int *restrict dst, int *restrict src, int count) | |
5 { | |
6 for (int i = 0; i < count; ++i) | |
7 #pragma GCC unroll 16 | |
8 for (int j = 0; j < 16; ++j) | |
9 *dst++ = 1; | |
10 } | |
11 | |
12 /* { dg-final { scan-assembler-not {\tst1w\tz} } } */ | |
13 /* { dg-final { scan-assembler-times {\tstp\tq} 2 } } */ |