mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-11-05 20:35:44 +00:00
tcg-sparc: Fix ld64 for 32-bit mode
Since were not using an annulled branch, we need to put a nop in the delay slot. Signed-off-by: Richard Henderson <rth@twiddle.net>
This commit is contained in:
parent
87f6396293
commit
e7bc9004e7
1 changed files with 1 additions and 0 deletions
|
@ -963,6 +963,7 @@ static void tcg_out_qemu_ld(TCGContext *s, const TCGArg *args, int sizeop)
|
|||
label_ptr[0] = (uint32_t *)s->code_ptr;
|
||||
tcg_out_bpcc0(s, COND_NE, BPCC_PN
|
||||
| (TARGET_LONG_BITS == 64 ? BPCC_XCC : BPCC_ICC), 0);
|
||||
tcg_out_nop(s);
|
||||
|
||||
/* TLB Hit. */
|
||||
/* Load all 64-bits into an O/G register. */
|
||||
|
|
Loading…
Reference in a new issue