1*cf84ac9aSAndroid Build Coastguard Worker /* Generated by ./xlat/gen.sh from ./xlat/sigill_codes.in; do not edit. */ 2*cf84ac9aSAndroid Build Coastguard Worker 3*cf84ac9aSAndroid Build Coastguard Worker #include "gcc_compat.h" 4*cf84ac9aSAndroid Build Coastguard Worker #include "static_assert.h" 5*cf84ac9aSAndroid Build Coastguard Worker 6*cf84ac9aSAndroid Build Coastguard Worker #if defined(ILL_ILLOPC) || (defined(HAVE_DECL_ILL_ILLOPC) && HAVE_DECL_ILL_ILLOPC) 7*cf84ac9aSAndroid Build Coastguard Worker DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 8*cf84ac9aSAndroid Build Coastguard Worker static_assert((ILL_ILLOPC) == (1), "ILL_ILLOPC != 1"); 9*cf84ac9aSAndroid Build Coastguard Worker DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 10*cf84ac9aSAndroid Build Coastguard Worker #else 11*cf84ac9aSAndroid Build Coastguard Worker # define ILL_ILLOPC 1 12*cf84ac9aSAndroid Build Coastguard Worker #endif 13*cf84ac9aSAndroid Build Coastguard Worker #if defined(ILL_ILLOPN) || (defined(HAVE_DECL_ILL_ILLOPN) && HAVE_DECL_ILL_ILLOPN) 14*cf84ac9aSAndroid Build Coastguard Worker DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 15*cf84ac9aSAndroid Build Coastguard Worker static_assert((ILL_ILLOPN) == (2), "ILL_ILLOPN != 2"); 16*cf84ac9aSAndroid Build Coastguard Worker DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 17*cf84ac9aSAndroid Build Coastguard Worker #else 18*cf84ac9aSAndroid Build Coastguard Worker # define ILL_ILLOPN 2 19*cf84ac9aSAndroid Build Coastguard Worker #endif 20*cf84ac9aSAndroid Build Coastguard Worker #if defined(ILL_ILLADR) || (defined(HAVE_DECL_ILL_ILLADR) && HAVE_DECL_ILL_ILLADR) 21*cf84ac9aSAndroid Build Coastguard Worker DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 22*cf84ac9aSAndroid Build Coastguard Worker static_assert((ILL_ILLADR) == (3), "ILL_ILLADR != 3"); 23*cf84ac9aSAndroid Build Coastguard Worker DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 24*cf84ac9aSAndroid Build Coastguard Worker #else 25*cf84ac9aSAndroid Build Coastguard Worker # define ILL_ILLADR 3 26*cf84ac9aSAndroid Build Coastguard Worker #endif 27*cf84ac9aSAndroid Build Coastguard Worker #if defined(ILL_ILLTRP) || (defined(HAVE_DECL_ILL_ILLTRP) && HAVE_DECL_ILL_ILLTRP) 28*cf84ac9aSAndroid Build Coastguard Worker DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 29*cf84ac9aSAndroid Build Coastguard Worker static_assert((ILL_ILLTRP) == (4), "ILL_ILLTRP != 4"); 30*cf84ac9aSAndroid Build Coastguard Worker DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 31*cf84ac9aSAndroid Build Coastguard Worker #else 32*cf84ac9aSAndroid Build Coastguard Worker # define ILL_ILLTRP 4 33*cf84ac9aSAndroid Build Coastguard Worker #endif 34*cf84ac9aSAndroid Build Coastguard Worker #if defined(ILL_PRVOPC) || (defined(HAVE_DECL_ILL_PRVOPC) && HAVE_DECL_ILL_PRVOPC) 35*cf84ac9aSAndroid Build Coastguard Worker DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 36*cf84ac9aSAndroid Build Coastguard Worker static_assert((ILL_PRVOPC) == (5), "ILL_PRVOPC != 5"); 37*cf84ac9aSAndroid Build Coastguard Worker DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 38*cf84ac9aSAndroid Build Coastguard Worker #else 39*cf84ac9aSAndroid Build Coastguard Worker # define ILL_PRVOPC 5 40*cf84ac9aSAndroid Build Coastguard Worker #endif 41*cf84ac9aSAndroid Build Coastguard Worker #if defined(ILL_PRVREG) || (defined(HAVE_DECL_ILL_PRVREG) && HAVE_DECL_ILL_PRVREG) 42*cf84ac9aSAndroid Build Coastguard Worker DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 43*cf84ac9aSAndroid Build Coastguard Worker static_assert((ILL_PRVREG) == (6), "ILL_PRVREG != 6"); 44*cf84ac9aSAndroid Build Coastguard Worker DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 45*cf84ac9aSAndroid Build Coastguard Worker #else 46*cf84ac9aSAndroid Build Coastguard Worker # define ILL_PRVREG 6 47*cf84ac9aSAndroid Build Coastguard Worker #endif 48*cf84ac9aSAndroid Build Coastguard Worker #if defined(ILL_COPROC) || (defined(HAVE_DECL_ILL_COPROC) && HAVE_DECL_ILL_COPROC) 49*cf84ac9aSAndroid Build Coastguard Worker DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 50*cf84ac9aSAndroid Build Coastguard Worker static_assert((ILL_COPROC) == (7), "ILL_COPROC != 7"); 51*cf84ac9aSAndroid Build Coastguard Worker DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 52*cf84ac9aSAndroid Build Coastguard Worker #else 53*cf84ac9aSAndroid Build Coastguard Worker # define ILL_COPROC 7 54*cf84ac9aSAndroid Build Coastguard Worker #endif 55*cf84ac9aSAndroid Build Coastguard Worker #if defined(ILL_BADSTK) || (defined(HAVE_DECL_ILL_BADSTK) && HAVE_DECL_ILL_BADSTK) 56*cf84ac9aSAndroid Build Coastguard Worker DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 57*cf84ac9aSAndroid Build Coastguard Worker static_assert((ILL_BADSTK) == (8), "ILL_BADSTK != 8"); 58*cf84ac9aSAndroid Build Coastguard Worker DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 59*cf84ac9aSAndroid Build Coastguard Worker #else 60*cf84ac9aSAndroid Build Coastguard Worker # define ILL_BADSTK 8 61*cf84ac9aSAndroid Build Coastguard Worker #endif 62*cf84ac9aSAndroid Build Coastguard Worker 63*cf84ac9aSAndroid Build Coastguard Worker #ifndef XLAT_MACROS_ONLY 64*cf84ac9aSAndroid Build Coastguard Worker 65*cf84ac9aSAndroid Build Coastguard Worker # ifdef IN_MPERS 66*cf84ac9aSAndroid Build Coastguard Worker 67*cf84ac9aSAndroid Build Coastguard Worker extern const struct xlat sigill_codes[]; 68*cf84ac9aSAndroid Build Coastguard Worker 69*cf84ac9aSAndroid Build Coastguard Worker # else 70*cf84ac9aSAndroid Build Coastguard Worker 71*cf84ac9aSAndroid Build Coastguard Worker # if !(defined HAVE_M32_MPERS || defined HAVE_MX32_MPERS) 72*cf84ac9aSAndroid Build Coastguard Worker static 73*cf84ac9aSAndroid Build Coastguard Worker # endif 74*cf84ac9aSAndroid Build Coastguard Worker const struct xlat sigill_codes[] = { 75*cf84ac9aSAndroid Build Coastguard Worker XLAT(ILL_ILLOPC), 76*cf84ac9aSAndroid Build Coastguard Worker #if defined(ILL_ILLPARAOP) || (defined(HAVE_DECL_ILL_ILLPARAOP) && HAVE_DECL_ILL_ILLPARAOP) 77*cf84ac9aSAndroid Build Coastguard Worker XLAT(ILL_ILLPARAOP), 78*cf84ac9aSAndroid Build Coastguard Worker #endif 79*cf84ac9aSAndroid Build Coastguard Worker XLAT(ILL_ILLOPN), 80*cf84ac9aSAndroid Build Coastguard Worker XLAT(ILL_ILLADR), 81*cf84ac9aSAndroid Build Coastguard Worker #if defined(ILL_ILLEXCPT) || (defined(HAVE_DECL_ILL_ILLEXCPT) && HAVE_DECL_ILL_ILLEXCPT) 82*cf84ac9aSAndroid Build Coastguard Worker XLAT(ILL_ILLEXCPT), 83*cf84ac9aSAndroid Build Coastguard Worker #endif 84*cf84ac9aSAndroid Build Coastguard Worker XLAT(ILL_ILLTRP), 85*cf84ac9aSAndroid Build Coastguard Worker XLAT(ILL_PRVOPC), 86*cf84ac9aSAndroid Build Coastguard Worker XLAT(ILL_PRVREG), 87*cf84ac9aSAndroid Build Coastguard Worker XLAT(ILL_COPROC), 88*cf84ac9aSAndroid Build Coastguard Worker XLAT(ILL_BADSTK), 89*cf84ac9aSAndroid Build Coastguard Worker #if defined(ILL_CPLB_VI) || (defined(HAVE_DECL_ILL_CPLB_VI) && HAVE_DECL_ILL_CPLB_VI) 90*cf84ac9aSAndroid Build Coastguard Worker XLAT(ILL_CPLB_VI), 91*cf84ac9aSAndroid Build Coastguard Worker #endif 92*cf84ac9aSAndroid Build Coastguard Worker #if defined(ILL_CPLB_MISS) || (defined(HAVE_DECL_ILL_CPLB_MISS) && HAVE_DECL_ILL_CPLB_MISS) 93*cf84ac9aSAndroid Build Coastguard Worker XLAT(ILL_CPLB_MISS), 94*cf84ac9aSAndroid Build Coastguard Worker #endif 95*cf84ac9aSAndroid Build Coastguard Worker #if defined(ILL_CPLB_MULHIT) || (defined(HAVE_DECL_ILL_CPLB_MULHIT) && HAVE_DECL_ILL_CPLB_MULHIT) 96*cf84ac9aSAndroid Build Coastguard Worker XLAT(ILL_CPLB_MULHIT), 97*cf84ac9aSAndroid Build Coastguard Worker #endif 98*cf84ac9aSAndroid Build Coastguard Worker #if defined(ILL_DBLFLT) || (defined(HAVE_DECL_ILL_DBLFLT) && HAVE_DECL_ILL_DBLFLT) 99*cf84ac9aSAndroid Build Coastguard Worker XLAT(ILL_DBLFLT), 100*cf84ac9aSAndroid Build Coastguard Worker #endif 101*cf84ac9aSAndroid Build Coastguard Worker #if defined(ILL_HARDWALL) || (defined(HAVE_DECL_ILL_HARDWALL) && HAVE_DECL_ILL_HARDWALL) 102*cf84ac9aSAndroid Build Coastguard Worker XLAT(ILL_HARDWALL), 103*cf84ac9aSAndroid Build Coastguard Worker #endif 104*cf84ac9aSAndroid Build Coastguard Worker #if defined(ILL_BADIADDR) || (defined(HAVE_DECL_ILL_BADIADDR) && HAVE_DECL_ILL_BADIADDR) 105*cf84ac9aSAndroid Build Coastguard Worker XLAT(ILL_BADIADDR), 106*cf84ac9aSAndroid Build Coastguard Worker #endif 107*cf84ac9aSAndroid Build Coastguard Worker #if defined(__ILL_BREAK) || (defined(HAVE_DECL___ILL_BREAK) && HAVE_DECL___ILL_BREAK) 108*cf84ac9aSAndroid Build Coastguard Worker XLAT(__ILL_BREAK), 109*cf84ac9aSAndroid Build Coastguard Worker #endif 110*cf84ac9aSAndroid Build Coastguard Worker #if defined(__ILL_BNDMOD) || (defined(HAVE_DECL___ILL_BNDMOD) && HAVE_DECL___ILL_BNDMOD) 111*cf84ac9aSAndroid Build Coastguard Worker XLAT(__ILL_BNDMOD), 112*cf84ac9aSAndroid Build Coastguard Worker #endif 113*cf84ac9aSAndroid Build Coastguard Worker XLAT_END 114*cf84ac9aSAndroid Build Coastguard Worker }; 115*cf84ac9aSAndroid Build Coastguard Worker 116*cf84ac9aSAndroid Build Coastguard Worker # endif /* !IN_MPERS */ 117*cf84ac9aSAndroid Build Coastguard Worker 118*cf84ac9aSAndroid Build Coastguard Worker #endif /* !XLAT_MACROS_ONLY */ 119