@@ -118,6 +118,38 @@ static inline void glue(gen_helper_, name)(dh_retvar_decl(ret) \
118118 dh_arg (t7, 7 ), dh_arg (t8, 8 ), dh_arg (t9, 9 )); \
119119}
120120
121+ #define DEF_HELPER_FLAGS_10 (name, flags, ret, t1, t2, t3, t4, t5, t6, t7, \
122+ t8, t9, t10) \
123+ extern TCGHelperInfo glue (helper_info_, name); \
124+ static inline void glue (gen_helper_, name)(dh_retvar_decl(ret) \
125+ dh_arg_decl(t1, 1 ), dh_arg_decl(t2, 2 ), dh_arg_decl(t3, 3 ), \
126+ dh_arg_decl(t4, 4 ), dh_arg_decl(t5, 5 ), dh_arg_decl(t6, 6 ), \
127+ dh_arg_decl(t7, 7 ), dh_arg_decl(t8, 8 ), dh_arg_decl(t9, 9 ), \
128+ dh_arg_decl(t10, 10 )) \
129+ { \
130+ tcg_gen_call10 (&glue (helper_info_, name), dh_retvar (ret), \
131+ dh_arg (t1, 1 ), dh_arg (t2, 2 ), dh_arg (t3, 3 ), \
132+ dh_arg (t4, 4 ), dh_arg (t5, 5 ), dh_arg (t6, 6 ), \
133+ dh_arg (t7, 7 ), dh_arg (t8, 8 ), dh_arg (t9, 9 ), \
134+ dh_arg (t10, 10 )); \
135+ }
136+
137+ #define DEF_HELPER_FLAGS_11 (name, flags, ret, t1, t2, t3, t4, t5, t6, t7, \
138+ t8, t9, t10, t11) \
139+ extern TCGHelperInfo glue (helper_info_, name); \
140+ static inline void glue (gen_helper_, name)(dh_retvar_decl(ret) \
141+ dh_arg_decl(t1, 1 ), dh_arg_decl(t2, 2 ), dh_arg_decl(t3, 3 ), \
142+ dh_arg_decl(t4, 4 ), dh_arg_decl(t5, 5 ), dh_arg_decl(t6, 6 ), \
143+ dh_arg_decl(t7, 7 ), dh_arg_decl(t8, 8 ), dh_arg_decl(t9, 9 ), \
144+ dh_arg_decl(t10, 10 ), dh_arg_decl(t11, 11 )) \
145+ { \
146+ tcg_gen_call11 (&glue (helper_info_, name), dh_retvar (ret), \
147+ dh_arg (t1, 1 ), dh_arg (t2, 2 ), dh_arg (t3, 3 ), \
148+ dh_arg (t4, 4 ), dh_arg (t5, 5 ), dh_arg (t6, 6 ), \
149+ dh_arg (t7, 7 ), dh_arg (t8, 8 ), dh_arg (t9, 9 ), \
150+ dh_arg (t10, 10 ), dh_arg (t11, 11 )); \
151+ }
152+
121153#include HELPER_H
122154
123155#undef DEF_HELPER_FLAGS_0
@@ -130,3 +162,5 @@ static inline void glue(gen_helper_, name)(dh_retvar_decl(ret) \
130162#undef DEF_HELPER_FLAGS_7
131163#undef DEF_HELPER_FLAGS_8
132164#undef DEF_HELPER_FLAGS_9
165+ #undef DEF_HELPER_FLAGS_10
166+ #undef DEF_HELPER_FLAGS_11
0 commit comments