| 1 | /* |
| 2 | * Copyright(c) 2019-2021 Qualcomm Innovation Center, Inc. All Rights Reserved. |
| 3 | * |
| 4 | * This program is free software; you can redistribute it and/or modify |
| 5 | * it under the terms of the GNU General Public License as published by |
| 6 | * the Free Software Foundation; either version 2 of the License, or |
| 7 | * (at your option) any later version. |
| 8 | * |
| 9 | * This program is distributed in the hope that it will be useful, |
| 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 12 | * GNU General Public License for more details. |
| 13 | * |
| 14 | * You should have received a copy of the GNU General Public License |
| 15 | * along with this program; if not, see <http://www.gnu.org/licenses/>. |
| 16 | */ |
| 17 | |
| 18 | /* |
| 19 | * This just includes all encoding files |
| 20 | */ |
| 21 | |
| 22 | #ifndef DEF_FIELD32 |
| 23 | #define __SELF_DEF_FIELD32 |
| 24 | #define DEF_FIELD32(...) /* nothing */ |
| 25 | #endif |
| 26 | |
| 27 | #ifndef DEF_CLASS32 |
| 28 | #define __SELF_DEF_CLASS32 |
| 29 | #define DEF_CLASS32(...) /* nothing */ |
| 30 | #endif |
| 31 | |
| 32 | #ifndef DEF_ANTICLASS32 |
| 33 | #define __SELF_DEF_ANTICLASS32 |
| 34 | #define DEF_ANTICLASS32(...) /* nothing */ |
| 35 | #endif |
| 36 | |
| 37 | #ifndef LEGACY_DEF_ENC32 |
| 38 | #define __SELF_DEF_LEGACY_DEF_ENC32 |
| 39 | #define LEGACY_DEF_ENC32(...) /* nothing */ |
| 40 | #endif |
| 41 | |
| 42 | #ifndef DEF_FIELDROW_DESC32 |
| 43 | #define __SELF_DEF_FIELDROW_DESC32 |
| 44 | #define DEF_FIELDROW_DESC32(...) /* nothing */ |
| 45 | #endif |
| 46 | |
| 47 | #ifndef DEF_ENC32 |
| 48 | #define __SELF_DEF_ENC32 |
| 49 | #define DEF_ENC32(...) /* nothing */ |
| 50 | #endif |
| 51 | |
| 52 | #ifndef DEF_PACKED32 |
| 53 | #define __SELF_DEF_PACKED32 |
| 54 | #define DEF_PACKED32(...) /* nothing */ |
| 55 | #endif |
| 56 | |
| 57 | #ifndef DEF_ENC_SUBINSN |
| 58 | #define __SELF_DEF_ENC_SUBINSN |
| 59 | #define DEF_ENC_SUBINSN(...) /* nothing */ |
| 60 | #endif |
| 61 | |
| 62 | #ifndef DEF_EXT_ENC |
| 63 | #define __SELF_DEF_EXT_ENC |
| 64 | #define DEF_EXT_ENC(...) /* nothing */ |
| 65 | #endif |
| 66 | |
| 67 | #ifndef DEF_EXT_SPACE |
| 68 | #define __SELF_DEF_EXT_SPACE |
| 69 | #define DEF_EXT_SPACE(...) /* nothing */ |
| 70 | #endif |
| 71 | |
| 72 | #include "encode_pp.def" |
| 73 | #include "encode_subinsn.def" |
| 74 | #include "allextenc.def" |
| 75 | |
| 76 | #ifdef __SELF_DEF_FIELD32 |
| 77 | #undef __SELF_DEF_FIELD32 |
| 78 | #undef DEF_FIELD32 |
| 79 | #endif |
| 80 | |
| 81 | #ifdef __SELF_DEF_CLASS32 |
| 82 | #undef __SELF_DEF_CLASS32 |
| 83 | #undef DEF_CLASS32 |
| 84 | #endif |
| 85 | |
| 86 | #ifdef __SELF_DEF_ANTICLASS32 |
| 87 | #undef __SELF_DEF_ANTICLASS32 |
| 88 | #undef DEF_ANTICLASS32 |
| 89 | #endif |
| 90 | |
| 91 | #ifdef __SELF_DEF_LEGACY_DEF_ENC32 |
| 92 | #undef __SELF_DEF_LEGACY_DEF_ENC32 |
| 93 | #undef LEGACY_DEF_ENC32 |
| 94 | #endif |
| 95 | |
| 96 | #ifdef __SELF_DEF_FIELDROW_DESC32 |
| 97 | #undef __SELF_DEF_FIELDROW_DESC32 |
| 98 | #undef DEF_FIELDROW_DESC32 |
| 99 | #endif |
| 100 | |
| 101 | #ifdef __SELF_DEF_ENC32 |
| 102 | #undef __SELF_DEF_ENC32 |
| 103 | #undef DEF_ENC32 |
| 104 | #endif |
| 105 | |
| 106 | #ifdef __SELF_DEF_EXT_SPACE |
| 107 | #undef __SELF_DEF_EXT_SPACE |
| 108 | #undef DEF_EXT_SPACE |
| 109 | #endif |
| 110 | |
| 111 | |
| 112 | #ifdef __SELF_DEF_PACKED32 |
| 113 | #undef __SELF_DEF_PACKED32 |
| 114 | #undef DEF_PACKED32 |
| 115 | #endif |
| 116 | |
| 117 | #ifdef __SELF_DEF_ENC_SUBINSN |
| 118 | #undef __SELF_DEF_ENC_SUBINSN |
| 119 | #undef DEF_ENC_SUBINSN |
| 120 | #endif |
| 121 | |
| 122 | #ifdef __SELF_DEF_EXT_ENC |
| 123 | #undef __SELF_DEF_EXT_ENC |
| 124 | #undef DEF_EXT_ENC |
| 125 | #endif |