Skip to content

Commit

Permalink
tcg/sparc64: Implement tcg_out_extrl_i64_i32
Browse files Browse the repository at this point in the history
Build fix for missing symbol.

Cc: [email protected]
Fixes: dad2f2f ("tcg/sparc64: Disable TCG_TARGET_HAS_extr_i64_i32")
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>
  • Loading branch information
rth7680 committed Nov 6, 2023
1 parent f245757 commit d36ce28
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tcg/sparc64/tcg-target.c.inc
Original file line number Diff line number Diff line change
Expand Up @@ -529,6 +529,11 @@ static void tcg_out_extu_i32_i64(TCGContext *s, TCGReg rd, TCGReg rs)
tcg_out_ext32u(s, rd, rs);
}

static void tcg_out_extrl_i64_i32(TCGContext *s, TCGReg rd, TCGReg rs)
{
tcg_out_ext32u(s, rd, rs);
}

static bool tcg_out_xchg(TCGContext *s, TCGType type, TCGReg r1, TCGReg r2)
{
return false;
Expand Down

0 comments on commit d36ce28

Please sign in to comment.