comparison gcc/testsuite/gcc.dg/vect/vect-strided-a-u16-i4.c @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children
comparison
equal deleted inserted replaced
111:04ced10e8804 131:84e7813d76e9
9 unsigned short a; 9 unsigned short a;
10 unsigned short b; 10 unsigned short b;
11 unsigned short c; 11 unsigned short c;
12 unsigned short d; 12 unsigned short d;
13 } s; 13 } s;
14
15 volatile int y = 0;
16 14
17 __attribute__ ((noinline)) int 15 __attribute__ ((noinline)) int
18 main1 () 16 main1 ()
19 { 17 {
20 s arr[N]; 18 s arr[N];
26 { 24 {
27 arr[i].a = i; 25 arr[i].a = i;
28 arr[i].b = i * 2; 26 arr[i].b = i * 2;
29 arr[i].c = 17; 27 arr[i].c = 17;
30 arr[i].d = i+34; 28 arr[i].d = i+34;
31 if (y) /* Avoid vectorization. */ 29 asm volatile ("" ::: "memory");
32 abort ();
33 } 30 }
34 31
35 for (i = 0; i < N; i++) 32 for (i = 0; i < N; i++)
36 { 33 {
37 unsigned short x, y, z, w; 34 unsigned short x, y, z, w;