root / translate-op.c @ 480c1cdb
History | View | Annotate | Download (1 kB)
1 | 4f716dc6 | bellard | /*
|
---|---|---|---|
2 | 4f716dc6 | bellard | * Host code generation
|
3 | 4f716dc6 | bellard | *
|
4 | 4f716dc6 | bellard | * Copyright (c) 2003 Fabrice Bellard
|
5 | 4f716dc6 | bellard | *
|
6 | 4f716dc6 | bellard | * This library is free software; you can redistribute it and/or
|
7 | 4f716dc6 | bellard | * modify it under the terms of the GNU Lesser General Public
|
8 | 4f716dc6 | bellard | * License as published by the Free Software Foundation; either
|
9 | 4f716dc6 | bellard | * version 2 of the License, or (at your option) any later version.
|
10 | 4f716dc6 | bellard | *
|
11 | 4f716dc6 | bellard | * This library is distributed in the hope that it will be useful,
|
12 | 4f716dc6 | bellard | * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
13 | 4f716dc6 | bellard | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
14 | 4f716dc6 | bellard | * Lesser General Public License for more details.
|
15 | 4f716dc6 | bellard | *
|
16 | 4f716dc6 | bellard | * You should have received a copy of the GNU Lesser General Public
|
17 | 4f716dc6 | bellard | * License along with this library; if not, write to the Free Software
|
18 | 4f716dc6 | bellard | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
19 | 4f716dc6 | bellard | */
|
20 | 4f716dc6 | bellard | #include <stdarg.h> |
21 | 4f716dc6 | bellard | #include <stdlib.h> |
22 | 4f716dc6 | bellard | #include <stdio.h> |
23 | 4f716dc6 | bellard | #include <string.h> |
24 | 4f716dc6 | bellard | #include <inttypes.h> |
25 | 4f716dc6 | bellard | |
26 | 4f716dc6 | bellard | #include "config.h" |
27 | 4f716dc6 | bellard | |
28 | 4f716dc6 | bellard | enum {
|
29 | 4f716dc6 | bellard | #define DEF(s, n, copy_size) INDEX_op_ ## s, |
30 | 4f716dc6 | bellard | #include "opc.h" |
31 | 4f716dc6 | bellard | #undef DEF
|
32 | 4f716dc6 | bellard | NB_OPS, |
33 | 4f716dc6 | bellard | }; |
34 | 4f716dc6 | bellard | |
35 | 4f716dc6 | bellard | #include "dyngen.h" |
36 | 4f716dc6 | bellard | #include "op.h" |