1 /* Generated by ./xlat/gen.sh from ./xlat/pr_sve_vl_flags.in; do not edit. */
2 
3 #include "gcc_compat.h"
4 #include "static_assert.h"
5 
6 #if defined(PR_SVE_SET_VL_ONEXEC) || (defined(HAVE_DECL_PR_SVE_SET_VL_ONEXEC) && HAVE_DECL_PR_SVE_SET_VL_ONEXEC)
7 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
8 static_assert((PR_SVE_SET_VL_ONEXEC) == ((1 << 18)), "PR_SVE_SET_VL_ONEXEC != (1 << 18)");
9 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
10 #else
11 # define PR_SVE_SET_VL_ONEXEC (1 << 18)
12 #endif
13 #if defined(PR_SVE_VL_INHERIT) || (defined(HAVE_DECL_PR_SVE_VL_INHERIT) && HAVE_DECL_PR_SVE_VL_INHERIT)
14 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
15 static_assert((PR_SVE_VL_INHERIT) == ((1 << 17)), "PR_SVE_VL_INHERIT != (1 << 17)");
16 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
17 #else
18 # define PR_SVE_VL_INHERIT (1 << 17)
19 #endif
20 
21 #ifndef XLAT_MACROS_ONLY
22 
23 # ifdef IN_MPERS
24 
25 #  error static const struct xlat pr_sve_vl_flags in mpers mode
26 
27 # else
28 
29 static
30 const struct xlat pr_sve_vl_flags[] = {
31  XLAT(PR_SVE_SET_VL_ONEXEC),
32  XLAT(PR_SVE_VL_INHERIT),
33  XLAT_END
34 };
35 
36 # endif /* !IN_MPERS */
37 
38 #endif /* !XLAT_MACROS_ONLY */
39