Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.target/aarch64/vect_mixed_sizes_4.c @ 152:2b5abeee2509
update gcc11
author | anatofuz |
---|---|
date | Mon, 25 May 2020 07:50:57 +0900 |
parents | 1830386684a0 |
children |
line wrap: on
line source
/* { dg-options "-O2 -ftree-vectorize" } */ #pragma GCC target "+nosve" #include <stdint.h> void f (int64_t *x, int64_t *y, int8_t *z, int n) { for (int i = 0; i < n; ++i) { x[i] += y[i]; z[i] += z[i - 8]; } } /* { dg-final { scan-assembler-times {\tadd\tv[0-9]+\.2d,} 4 } } */ /* { dg-final { scan-assembler-times {\tadd\tv[0-9]+\.8b,} 1 } } */