Debian Codegraph @

gcc/testsuite/gcc.target/s390/vector/vec-cmp-emu-2.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 {\tvchg\t} 1 } } */
5 /* { dg-final { scan-assembler-times {\tvchlg\t} 1 } } */
6 /* { dg-final { scan-assembler-times {\tvceqg\t} 1 } } */
7 /* { dg-final { scan-assembler-times {\tvpdi\t} 1 } } */
8 /* { dg-final { scan-assembler-times {\tvn\t} 1 } } */
9 /* { dg-final { scan-assembler-times {\tvo\t} 1 } } */
10 /* { dg-final { scan-assembler-times {\tvrepg\t} 1 } } */
11
12 typedef __attribute__ ((vector_size (16))) __int128 v1ti;
13
14 v1ti
15 gt (v1ti x, v1ti y)
16 {
17 return x > y;
18 }