| 1 |
/* PR target/104779 */ |
| 2 |
/* { dg-do compile } */ |
| 3 |
/* { dg-options "-O1 --param sccvn-max-alias-queries-per-access=0" } */ |
| 4 |
|
| 5 |
__attribute__ ((simd)) int |
| 6 |
foo (int x, int y, int z) |
| 7 |
{ |
| 8 |
return (x & y) * !!z; |
| 9 |
} |
| 10 |
|
| 11 |
__attribute__ ((simd)) int |
| 12 |
bar (int x, int y, int z) |
| 13 |
{ |
| 14 |
return (x | y) * !!z; |
| 15 |
} |
| 16 |
|
| 17 |
__attribute__ ((simd)) int |
| 18 |
baz (int x, int y, int z) |
| 19 |
{ |
| 20 |
return (x ^ y) * !!z; |
| 21 |
} |
| 22 |
|
| 23 |
__attribute__ ((simd, target ("avx512dq"))) long |
| 24 |
qux (long x, long y, long z) |
| 25 |
{ |
| 26 |
return (x * y) * !!z; |
| 27 |
} |