Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/g++.dg/gomp/declare-simd-7.C @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | 04ced10e8804 |
children |
comparison
equal
deleted
inserted
replaced
131:84e7813d76e9 | 145:1830386684a0 |
---|---|
16 int | 16 int |
17 foo1 (int a, int b, float c, S d, int *e, int f, int &g, int &h, int &i, int j, int k) | 17 foo1 (int a, int b, float c, S d, int *e, int f, int &g, int &h, int &i, int j, int k) |
18 { | 18 { |
19 return bar1 (a, b, c, d, e, f, g, h, i, j, k); | 19 return bar1 (a, b, c, d, e, f, g, h, i, j, k); |
20 } | 20 } |
21 // { dg-warning "GCC does not currently support mixed size types for 'simd' functions" "" { target aarch64*-*-* } .-4 } | |
21 | 22 |
22 #pragma omp declare simd inbranch uniform (b, c, d, e) aligned (e : 16) \ | 23 #pragma omp declare simd inbranch uniform (b, c, d, e) aligned (e : 16) \ |
23 linear (f : 2) linear (ref (g) : 1) \ | 24 linear (f : 2) linear (ref (g) : 1) \ |
24 linear (val (h) : 1) linear (uval (i) : 1) \ | 25 linear (val (h) : 1) linear (uval (i) : 1) \ |
25 linear (k : 4) | 26 linear (k : 4) |
26 int | 27 int |
27 foo2 (int a, int b, float c, S d, int *e, int f, int &g, int &h, int &i, int j, int k) | 28 foo2 (int a, int b, float c, S d, int *e, int f, int &g, int &h, int &i, int j, int k) |
28 { | 29 { |
29 return bar2 (a, b, c, d, e, f, g, h, i, j, k); | 30 return bar2 (a, b, c, d, e, f, g, h, i, j, k); |
30 } | 31 } |
32 // { dg-warning "GCC does not currently support mixed size types for 'simd' functions" "" { target aarch64*-*-* } .-4 } | |
31 | 33 |
32 #pragma omp declare simd notinbranch uniform (b, c, d, e) aligned (e : 16) \ | 34 #pragma omp declare simd notinbranch uniform (b, c, d, e) aligned (e : 16) \ |
33 linear (f : 2) linear (ref (g) : 1) \ | 35 linear (f : 2) linear (ref (g) : 1) \ |
34 linear (val (h) : 1) linear (uval (i) : 1) \ | 36 linear (val (h) : 1) linear (uval (i) : 1) \ |
35 linear (k : 4) | 37 linear (k : 4) |
36 int | 38 int |
37 foo3 (int a, int b, float c, S d, int *e, int f, int &g, int &h, int &i, int j, int k) | 39 foo3 (int a, int b, float c, S d, int *e, int f, int &g, int &h, int &i, int j, int k) |
38 { | 40 { |
39 return bar3 (a, b, c, d, e, f, g, h, i, j, k); | 41 return bar3 (a, b, c, d, e, f, g, h, i, j, k); |
40 } | 42 } |
43 // { dg-warning "GCC does not currently support mixed size types for 'simd' functions" "" { target aarch64*-*-* } .-4 } | |
41 | 44 |
42 #pragma omp declare simd inbranch uniform (b, c, d, e) aligned (e : 16) \ | 45 #pragma omp declare simd inbranch uniform (b, c, d, e) aligned (e : 16) \ |
43 linear (f : 2) linear (ref (g) : 1) \ | 46 linear (f : 2) linear (ref (g) : 1) \ |
44 linear (val (h) : 1) linear (uval (i) : 1) \ | 47 linear (val (h) : 1) linear (uval (i) : 1) \ |
45 linear (k : 4) | 48 linear (k : 4) |
46 int | 49 int |
47 foo4 (int a, int b, float c, S d, int *e, int f, int &g, int &h, int &i, int j, int k) | 50 foo4 (int a, int b, float c, S d, int *e, int f, int &g, int &h, int &i, int j, int k) |
48 { | 51 { |
49 return bar4 (a, b, c, d, e, f, g, h, i, j, k); | 52 return bar4 (a, b, c, d, e, f, g, h, i, j, k); |
50 } | 53 } |
54 // { dg-warning "GCC does not currently support mixed size types for 'simd' functions" "" { target aarch64*-*-* } .-4 } |