cpu: Directly use get_memory_mapping() fallback handlers in place
[qemu/ar7.git] / target / hexagon / imported / encode.def
blobb9368d12841143135e5ad76ac347974e036046df
1 /*
2 * Copyright(c) 2019-2021 Qualcomm Innovation Center, Inc. All Rights Reserved.
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.
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.
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/>.
19 * This just includes all encoding files
22 #ifndef DEF_FIELD32
23 #define __SELF_DEF_FIELD32
24 #define DEF_FIELD32(...) /* nothing */
25 #endif
27 #ifndef DEF_CLASS32
28 #define __SELF_DEF_CLASS32
29 #define DEF_CLASS32(...) /* nothing */
30 #endif
32 #ifndef DEF_ANTICLASS32
33 #define __SELF_DEF_ANTICLASS32
34 #define DEF_ANTICLASS32(...) /* nothing */
35 #endif
37 #ifndef LEGACY_DEF_ENC32
38 #define __SELF_DEF_LEGACY_DEF_ENC32
39 #define LEGACY_DEF_ENC32(...) /* nothing */
40 #endif
42 #ifndef DEF_FIELDROW_DESC32
43 #define __SELF_DEF_FIELDROW_DESC32
44 #define DEF_FIELDROW_DESC32(...) /* nothing */
45 #endif
47 #ifndef DEF_ENC32
48 #define __SELF_DEF_ENC32
49 #define DEF_ENC32(...) /* nothing */
50 #endif
52 #ifndef DEF_PACKED32
53 #define __SELF_DEF_PACKED32
54 #define DEF_PACKED32(...) /* nothing */
55 #endif
57 #ifndef DEF_ENC_SUBINSN
58 #define __SELF_DEF_ENC_SUBINSN
59 #define DEF_ENC_SUBINSN(...) /* nothing */
60 #endif
62 #ifndef DEF_EXT_ENC
63 #define __SELF_DEF_EXT_ENC
64 #define DEF_EXT_ENC(...) /* nothing */
65 #endif
67 #ifndef DEF_EXT_SPACE
68 #define __SELF_DEF_EXT_SPACE
69 #define DEF_EXT_SPACE(...) /* nothing */
70 #endif
72 #include "encode_pp.def"
73 #include "encode_subinsn.def"
75 #ifdef __SELF_DEF_FIELD32
76 #undef __SELF_DEF_FIELD32
77 #undef DEF_FIELD32
78 #endif
80 #ifdef __SELF_DEF_CLASS32
81 #undef __SELF_DEF_CLASS32
82 #undef DEF_CLASS32
83 #endif
85 #ifdef __SELF_DEF_ANTICLASS32
86 #undef __SELF_DEF_ANTICLASS32
87 #undef DEF_ANTICLASS32
88 #endif
90 #ifdef __SELF_DEF_LEGACY_DEF_ENC32
91 #undef __SELF_DEF_LEGACY_DEF_ENC32
92 #undef LEGACY_DEF_ENC32
93 #endif
95 #ifdef __SELF_DEF_FIELDROW_DESC32
96 #undef __SELF_DEF_FIELDROW_DESC32
97 #undef DEF_FIELDROW_DESC32
98 #endif
100 #ifdef __SELF_DEF_ENC32
101 #undef __SELF_DEF_ENC32
102 #undef DEF_ENC32
103 #endif
105 #ifdef __SELF_DEF_EXT_SPACE
106 #undef __SELF_DEF_EXT_SPACE
107 #undef DEF_EXT_SPACE
108 #endif
111 #ifdef __SELF_DEF_PACKED32
112 #undef __SELF_DEF_PACKED32
113 #undef DEF_PACKED32
114 #endif
116 #ifdef __SELF_DEF_ENC_SUBINSN
117 #undef __SELF_DEF_ENC_SUBINSN
118 #undef DEF_ENC_SUBINSN
119 #endif
121 #ifdef __SELF_DEF_EXT_ENC
122 #undef __SELF_DEF_EXT_ENC
123 #undef DEF_EXT_ENC
124 #endif