qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v5 39/76] target/mips: Add emulation of DSP ASE


From: Richard Henderson
Subject: Re: [Qemu-devel] [PATCH v5 39/76] target/mips: Add emulation of DSP ASE for nanoMIPS - part 2
Date: Tue, 31 Jul 2018 13:22:26 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

On 07/30/2018 12:12 PM, Aleksandar Markovic wrote:

> +                case NM_BPOSGE32C:
> +                    check_dsp(ctx);
> +                    {
> +                        int32_t imm = ctx->opcode;
> +                        imm >>= 1;
> +                        imm &= 0x1fff;
> +                        imm |= (ctx->opcode & 1) << 13;

extract32.

> +
> +                        gen_compute_branch(ctx, OPC_BPOSGE32, 4, -1, -2,
> +                                           (int32_t)imm, 4);

Useless cast.  And see my other response re gen_compute_branch.


r~



reply via email to

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