mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 01:03:55 -06:00
tcg: Introduce tcg_out_addi_ptr
Implement the function for arm, i386, and s390x, which will use it. Add stubs for all other backends. Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
273eb50c0f
commit
6a6d772e30
11 changed files with 86 additions and 0 deletions
|
@ -496,6 +496,13 @@ static void tcg_out_movi(TCGContext *s, TCGType type,
|
|||
tcg_out_movi_int(s, type, ret, arg, false, TCG_REG_T2);
|
||||
}
|
||||
|
||||
static void tcg_out_addi_ptr(TCGContext *s, TCGReg rd, TCGReg rs,
|
||||
tcg_target_long imm)
|
||||
{
|
||||
/* This function is only used for passing structs by reference. */
|
||||
g_assert_not_reached();
|
||||
}
|
||||
|
||||
static void tcg_out_ldst_rr(TCGContext *s, TCGReg data, TCGReg a1,
|
||||
TCGReg a2, int op)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue