Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/vect/pr42709.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 1 /* { dg-do compile } */ |
2 /* { dg-require-effective-target vect_int } */ | |
3 | |
4 #include <stdarg.h> | |
5 #include "tree-vect.h" | |
6 | |
7 #define N 128 | |
8 | |
9 int *res[N]; | |
10 | |
11 int | |
131 | 12 main1 (int *a, int *b, int *c, int *d) |
111 | 13 { |
14 int i; | |
15 | |
16 for (i = 0; i < N/2; i+=4) | |
17 { | |
18 res[i] = a + 16; | |
19 res[i+1] = b + 16; | |
20 res[i+2] = c + 16; | |
21 res[i+3] = d + 16; | |
131 | 22 asm volatile ("" ::: "memory"); |
111 | 23 } |
24 } | |
25 | |
26 |