qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v5++ 1/3] tcg/mips: implement goto_ptr


From: Richard Henderson
Subject: Re: [Qemu-devel] [PATCH v5++ 1/3] tcg/mips: implement goto_ptr
Date: Tue, 2 May 2017 18:21:52 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.0

On 04/30/2017 04:52 PM, Aurelien Jarno wrote:
+        /* jmp to the given host address (could be epilogue) */
+        tcg_out_opc_reg(s, OPC_JR, 0, a0, 0);
+        tcg_out_nop(s);

Any particular reason not to do the zeroing in the delay slot...

+    s->code_gen_epilogue = s->code_ptr;
+    tcg_out_mov(s, TCG_TYPE_REG, TCG_REG_V0, TCG_REG_ZERO);

... instead of here?


r~



reply via email to

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