gcc/testsuite/gcc.dg/pr70252.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-options "-O3" } */ |
| 3 | /* { dg-additional-options "-march=skylake-avx512" { target { i?86-*-* x86_64-*-* } } } */ |
| 4 | |
| 5 | extern unsigned char a [150]; |
| 6 | extern unsigned char b [150]; |
| 7 | extern unsigned char c [150]; |
| 8 | extern unsigned char d [150]; |
| 9 | extern unsigned char e [150]; |
| 10 | |
| 11 | void foo () { |
| 12 | for (int i = 92; i <= 141; i += 2) { |
| 13 | int tmp = (d [i] && b [i]) <= (a [i] > c [i]); |
| 14 | e [i] = tmp >> b [i]; |
| 15 | } |
| 16 | } |