Commit 1b351e52918c8eceb2b3dc7a9c5e0b7b342ccd18
1 parent
d3258560
moved CALL_FROM_TBx definitions
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1483 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
24 additions
and
0 deletions
target-mips/op.c
... | ... | @@ -21,6 +21,30 @@ |
21 | 21 | #include "config.h" |
22 | 22 | #include "exec.h" |
23 | 23 | |
24 | +#ifndef CALL_FROM_TB0 | |
25 | +#define CALL_FROM_TB0(func) func(); | |
26 | +#endif | |
27 | +#ifndef CALL_FROM_TB1 | |
28 | +#define CALL_FROM_TB1(func, arg0) func(arg0); | |
29 | +#endif | |
30 | +#ifndef CALL_FROM_TB1_CONST16 | |
31 | +#define CALL_FROM_TB1_CONST16(func, arg0) CALL_FROM_TB1(func, arg0); | |
32 | +#endif | |
33 | +#ifndef CALL_FROM_TB2 | |
34 | +#define CALL_FROM_TB2(func, arg0, arg1) func(arg0, arg1); | |
35 | +#endif | |
36 | +#ifndef CALL_FROM_TB2_CONST16 | |
37 | +#define CALL_FROM_TB2_CONST16(func, arg0, arg1) \ | |
38 | +CALL_FROM_TB2(func, arg0, arg1); | |
39 | +#endif | |
40 | +#ifndef CALL_FROM_TB3 | |
41 | +#define CALL_FROM_TB3(func, arg0, arg1, arg2) func(arg0, arg1, arg2); | |
42 | +#endif | |
43 | +#ifndef CALL_FROM_TB4 | |
44 | +#define CALL_FROM_TB4(func, arg0, arg1, arg2, arg3) \ | |
45 | + func(arg0, arg1, arg2, arg3); | |
46 | +#endif | |
47 | + | |
24 | 48 | #define REG 1 |
25 | 49 | #include "op_template.c" |
26 | 50 | #undef REG | ... | ... |