Debian Codegraph @

gcc/testsuite/gcc.target/s390/vector/vec-cmp-emu-3.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-O3 -mzarch -march=z13" } */
3 /* { dg-require-effective-target int128 } */
4 /* { dg-final { scan-assembler-times {\tvchlg\t} 1 } } */
5 /* { dg-final { scan-assembler-times {\tvceqg\t} 1 } } */
6 /* { dg-final { scan-assembler-times {\tvpdi\t} 1 } } */
7 /* { dg-final { scan-assembler-times {\tvn\t} 1 } } */
8 /* { dg-final { scan-assembler-times {\tvo\t} 1 } } */
9 /* { dg-final { scan-assembler-times {\tvrepg\t} 1 } } */
10
11 typedef __attribute__ ((vector_size (16))) unsigned __int128 uv1ti;
12
13 uv1ti
14 gt (uv1ti x, uv1ti y)
15 {
16 return x > y;
17 }