1 /* Check that the proper unsigned compare instructions are being generated. */
3 /* { dg-do compile { target { s390*-*-* } } } */
4 /* { dg-options "-O3 -mzarch -march=z13" } */
6 /* { dg-final { scan-assembler-times "vchlb" 1 } } */
7 /* { dg-final { scan-assembler-times "vchlh" 1 } } */
8 /* { dg-final { scan-assembler-times "vchlf" 1 } } */
9 /* { dg-final { scan-assembler-times "vchlg" 1 } } */
11 typedef __attribute__((vector_size(16))) signed char v16qi
;
12 typedef __attribute__((vector_size(16))) unsigned char uv16qi
;
14 typedef __attribute__((vector_size(16))) signed short v8hi
;
15 typedef __attribute__((vector_size(16))) unsigned short uv8hi
;
17 typedef __attribute__((vector_size(16))) signed int v4si
;
18 typedef __attribute__((vector_size(16))) unsigned int uv4si
;
20 typedef __attribute__((vector_size(16))) signed long long v2di
;
21 typedef __attribute__((vector_size(16))) unsigned long long uv2di
;
24 f (uv16qi a
, uv16qi b
)