You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tcg/loongarch64: Fix tcg_out_movi vs some pcrel pointers
Simplify the logic for two-part, 32-bit pc-relative addresses.
Rather than assume all such fit in int32_t, do some arithmetic
and assert a result, do some arithmetic first and then check
to see if the pieces are in range.
Cc: [email protected]
Fixes: dacc517 ("tcg/loongarch64: Implement tcg_out_mov and tcg_out_movi")
Reviewed-by: Song Gao <[email protected]>
Reported-by: Song Gao <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>
(cherry picked from commit 521d7fb)
Signed-off-by: Michael Tokarev <[email protected]>
0 commit comments