xref: /openbmc/qemu/tcg/tcg-common.c (revision 526947e496e4447d74b8d42415e2847481c5043d)
17d8f787dSPeter Crosthwaite /*
27d8f787dSPeter Crosthwaite  * Tiny Code Generator for QEMU
37d8f787dSPeter Crosthwaite  *
47d8f787dSPeter Crosthwaite  * Copyright (c) 2008 Fabrice Bellard
57d8f787dSPeter Crosthwaite  *
67d8f787dSPeter Crosthwaite  * Permission is hereby granted, free of charge, to any person obtaining a copy
77d8f787dSPeter Crosthwaite  * of this software and associated documentation files (the "Software"), to deal
87d8f787dSPeter Crosthwaite  * in the Software without restriction, including without limitation the rights
97d8f787dSPeter Crosthwaite  * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
107d8f787dSPeter Crosthwaite  * copies of the Software, and to permit persons to whom the Software is
117d8f787dSPeter Crosthwaite  * furnished to do so, subject to the following conditions:
127d8f787dSPeter Crosthwaite  *
137d8f787dSPeter Crosthwaite  * The above copyright notice and this permission notice shall be included in
147d8f787dSPeter Crosthwaite  * all copies or substantial portions of the Software.
157d8f787dSPeter Crosthwaite  *
167d8f787dSPeter Crosthwaite  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
177d8f787dSPeter Crosthwaite  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
187d8f787dSPeter Crosthwaite  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
197d8f787dSPeter Crosthwaite  * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
207d8f787dSPeter Crosthwaite  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
217d8f787dSPeter Crosthwaite  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
227d8f787dSPeter Crosthwaite  * THE SOFTWARE.
237d8f787dSPeter Crosthwaite  */
247d8f787dSPeter Crosthwaite 
25757e725bSPeter Maydell #include "qemu/osdep.h"
267d8f787dSPeter Crosthwaite #include "tcg/tcg.h"
277d8f787dSPeter Crosthwaite 
287d8f787dSPeter Crosthwaite TCGOpDef tcg_op_defs[] = {
297d8f787dSPeter Crosthwaite #define DEF(s, oargs, iargs, cargs, flags) \
30*13f73ca3SPhilippe Mathieu-Daudé          { #s, oargs, iargs, cargs, iargs + oargs + cargs, flags, NULL },
31dcb32f1dSPhilippe Mathieu-Daudé #include "tcg/tcg-opc.h"
327d8f787dSPeter Crosthwaite #undef DEF
337d8f787dSPeter Crosthwaite };
347d8f787dSPeter Crosthwaite const size_t tcg_op_defs_max = ARRAY_SIZE(tcg_op_defs);
35