|
From: | Richard Henderson |
Subject: | Re: [Qemu-devel] [PATCH 18/35] target/mips: Add nanoMIPS branch instructions |
Date: | Sun, 24 Jun 2018 17:23:45 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 |
On 06/20/2018 05:06 AM, Yongbok Kim wrote: > + if (rt == 0 && imm == 0) { > + /* Unconditional branch */ > + } else if (rt == 0 && imm != 0) { > + /* Treat as NOP */ > + goto out; Given that there is a different unconditional BC opcode, I would expect to never see rt=0 at all. There's no point in special casing it. And it would seem that all of the "goto out" cases miss setting MIPS_HFLAG_FBNSLOT. r~
[Prev in Thread] | Current Thread | [Next in Thread] |