tcg: Export vec_gen_6
Add declaration to tcg-internal.h, making it available for use from tcg backend vector expanders. Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
9d8d5a5b90
commit
8dd2ea7515
@ -102,5 +102,7 @@ TCGOp *tcg_gen_op6(TCGOpcode, TCGArg, TCGArg, TCGArg, TCGArg, TCGArg, TCGArg);
|
|||||||
void vec_gen_2(TCGOpcode, TCGType, unsigned, TCGArg, TCGArg);
|
void vec_gen_2(TCGOpcode, TCGType, unsigned, TCGArg, TCGArg);
|
||||||
void vec_gen_3(TCGOpcode, TCGType, unsigned, TCGArg, TCGArg, TCGArg);
|
void vec_gen_3(TCGOpcode, TCGType, unsigned, TCGArg, TCGArg, TCGArg);
|
||||||
void vec_gen_4(TCGOpcode, TCGType, unsigned, TCGArg, TCGArg, TCGArg, TCGArg);
|
void vec_gen_4(TCGOpcode, TCGType, unsigned, TCGArg, TCGArg, TCGArg, TCGArg);
|
||||||
|
void vec_gen_6(TCGOpcode opc, TCGType type, unsigned vece, TCGArg r,
|
||||||
|
TCGArg a, TCGArg b, TCGArg c, TCGArg d, TCGArg e);
|
||||||
|
|
||||||
#endif /* TCG_INTERNAL_H */
|
#endif /* TCG_INTERNAL_H */
|
||||||
|
@ -172,8 +172,8 @@ void vec_gen_4(TCGOpcode opc, TCGType type, unsigned vece,
|
|||||||
op->args[3] = c;
|
op->args[3] = c;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void vec_gen_6(TCGOpcode opc, TCGType type, unsigned vece, TCGArg r,
|
void vec_gen_6(TCGOpcode opc, TCGType type, unsigned vece, TCGArg r,
|
||||||
TCGArg a, TCGArg b, TCGArg c, TCGArg d, TCGArg e)
|
TCGArg a, TCGArg b, TCGArg c, TCGArg d, TCGArg e)
|
||||||
{
|
{
|
||||||
TCGOp *op = tcg_emit_op(opc, 6);
|
TCGOp *op = tcg_emit_op(opc, 6);
|
||||||
TCGOP_VECL(op) = type - TCG_TYPE_V64;
|
TCGOP_VECL(op) = type - TCG_TYPE_V64;
|
||||||
|
Loading…
Reference in New Issue
Block a user