xref: /qemu/tcg/tcg-common.c (revision 7d8f787d9d261d6880b69e35ed682241e3f9242f)
1*7d8f787dSPeter Crosthwaite /*
2*7d8f787dSPeter Crosthwaite  * Tiny Code Generator for QEMU
3*7d8f787dSPeter Crosthwaite  *
4*7d8f787dSPeter Crosthwaite  * Copyright (c) 2008 Fabrice Bellard
5*7d8f787dSPeter Crosthwaite  *
6*7d8f787dSPeter Crosthwaite  * Permission is hereby granted, free of charge, to any person obtaining a copy
7*7d8f787dSPeter Crosthwaite  * of this software and associated documentation files (the "Software"), to deal
8*7d8f787dSPeter Crosthwaite  * in the Software without restriction, including without limitation the rights
9*7d8f787dSPeter Crosthwaite  * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10*7d8f787dSPeter Crosthwaite  * copies of the Software, and to permit persons to whom the Software is
11*7d8f787dSPeter Crosthwaite  * furnished to do so, subject to the following conditions:
12*7d8f787dSPeter Crosthwaite  *
13*7d8f787dSPeter Crosthwaite  * The above copyright notice and this permission notice shall be included in
14*7d8f787dSPeter Crosthwaite  * all copies or substantial portions of the Software.
15*7d8f787dSPeter Crosthwaite  *
16*7d8f787dSPeter Crosthwaite  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17*7d8f787dSPeter Crosthwaite  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18*7d8f787dSPeter Crosthwaite  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
19*7d8f787dSPeter Crosthwaite  * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20*7d8f787dSPeter Crosthwaite  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21*7d8f787dSPeter Crosthwaite  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22*7d8f787dSPeter Crosthwaite  * THE SOFTWARE.
23*7d8f787dSPeter Crosthwaite  */
24*7d8f787dSPeter Crosthwaite 
25*7d8f787dSPeter Crosthwaite #include "tcg/tcg.h"
26*7d8f787dSPeter Crosthwaite 
27*7d8f787dSPeter Crosthwaite TCGOpDef tcg_op_defs[] = {
28*7d8f787dSPeter Crosthwaite #define DEF(s, oargs, iargs, cargs, flags) \
29*7d8f787dSPeter Crosthwaite          { #s, oargs, iargs, cargs, iargs + oargs + cargs, flags },
30*7d8f787dSPeter Crosthwaite #include "tcg-opc.h"
31*7d8f787dSPeter Crosthwaite #undef DEF
32*7d8f787dSPeter Crosthwaite };
33*7d8f787dSPeter Crosthwaite const size_t tcg_op_defs_max = ARRAY_SIZE(tcg_op_defs);
34