qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v3 5/8] target/mips: Add CP0 BadInstrX register


From: Richard Henderson
Subject: Re: [Qemu-devel] [PATCH v3 5/8] target/mips: Add CP0 BadInstrX register
Date: Fri, 6 Jul 2018 06:11:56 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0

On 07/06/2018 04:40 AM, Stefan Markovic wrote:
> +#if defined(TARGET_MIPS64)
> +            tcg_gen_andi_i64(arg, arg, ~0xffff);
> +#else
> +            tcg_gen_andi_i32(arg, arg, ~0xffff);
> +#endif

That's what tcg_gen_andi_tl is for -- avoiding such ifdefs.


r~



reply via email to

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