Debian Codegraph @

gcc/testsuite/gcc.target/aarch64/sve/acle/general/whilele_11.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
3
4 #include <arm_sve.h>
5 #include <limits.h>
6
7 svbool_t
8 f1 (volatile int32_t *ptr)
9 {
10 return svwhilelt_b8_s32 (*ptr, INT32_MIN);
11 }
12
13 svbool_t
14 f2 (volatile uint32_t *ptr)
15 {
16 return svwhilelt_b16_u32 (*ptr, 0);
17 }
18
19 svbool_t
20 f3 (volatile int64_t *ptr)
21 {
22 return svwhilelt_b32_s64 (*ptr, INT64_MIN);
23 }
24
25 svbool_t
26 f4 (volatile uint64_t *ptr)
27 {
28 return svwhilelt_b64_u64 (*ptr, 0);
29 }
30
31 /* { dg-final { scan-assembler-times {\tpfalse\tp[0-9]+\.b\n} 4 } } */