From 1b351e52918c8eceb2b3dc7a9c5e0b7b342ccd18 Mon Sep 17 00:00:00 2001 From: bellard Date: Sat, 2 Jul 2005 15:39:04 +0000 Subject: [PATCH] moved CALL_FROM_TBx definitions git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1483 c046a42c-6fe2-441c-8c8c-71466251a162 --- target-mips/op.c | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/target-mips/op.c b/target-mips/op.c index df76e8e71e..32f7e4fc9b 100644 --- a/target-mips/op.c +++ b/target-mips/op.c @@ -21,6 +21,30 @@ #include "config.h" #include "exec.h" +#ifndef CALL_FROM_TB0 +#define CALL_FROM_TB0(func) func(); +#endif +#ifndef CALL_FROM_TB1 +#define CALL_FROM_TB1(func, arg0) func(arg0); +#endif +#ifndef CALL_FROM_TB1_CONST16 +#define CALL_FROM_TB1_CONST16(func, arg0) CALL_FROM_TB1(func, arg0); +#endif +#ifndef CALL_FROM_TB2 +#define CALL_FROM_TB2(func, arg0, arg1) func(arg0, arg1); +#endif +#ifndef CALL_FROM_TB2_CONST16 +#define CALL_FROM_TB2_CONST16(func, arg0, arg1) \ +CALL_FROM_TB2(func, arg0, arg1); +#endif +#ifndef CALL_FROM_TB3 +#define CALL_FROM_TB3(func, arg0, arg1, arg2) func(arg0, arg1, arg2); +#endif +#ifndef CALL_FROM_TB4 +#define CALL_FROM_TB4(func, arg0, arg1, arg2, arg3) \ + func(arg0, arg1, arg2, arg3); +#endif + #define REG 1 #include "op_template.c" #undef REG