qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 09/19] PPC64/TCG: Implement 'rfebb' instruction


From: Richard Henderson
Subject: Re: [PATCH 09/19] PPC64/TCG: Implement 'rfebb' instruction
Date: Tue, 10 Aug 2021 14:41:13 -1000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0

On 8/9/21 3:10 AM, Daniel Henrique Barboza wrote:
+    TCGv target = tcg_temp_new();
+    TCGv bescr = tcg_temp_new();
+
+    gen_load_spr(target, SPR_EBBRR);
+    tcg_gen_mov_tl(cpu_nip, target);

You don't need a temporary for target here; just load into cpu_nip directly.

+    ctx->base.is_jmp = DISAS_EXIT;

You ought to be able to use DISAS_CHAIN.


r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]