qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 2/7] nios2: Add architecture emulation support


From: Richard Henderson
Subject: Re: [Qemu-devel] [PATCH 2/7] nios2: Add architecture emulation support
Date: Wed, 19 Oct 2016 09:18:40 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0

On 10/18/2016 07:31 PM, Marek Vasut wrote:
Processing a little more data can be preferable to fewer branch
prediction failures.  And the best way to avoid those is to not have the
branch at all. Especially when it's unlikely that the data will be
created in the first place.

OK, but I need to make sure stores to ZERO register are ignored, right ?

Yes.

Just remember that since nios2 doesn't have condition codes, where side effects of an instruction can be useful alone, the *only* likely case of ZERO as a destination register is in the (designated) NOP psuedo-op.


r~



reply via email to

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