qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 05/21] target/xtensa: support copying registers up to 64 bits


From: Richard Henderson
Subject: Re: [PATCH 05/21] target/xtensa: support copying registers up to 64 bits wide
Date: Wed, 8 Jul 2020 09:14:00 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0

On 7/6/20 4:47 PM, Max Filippov wrote:
> +                if (arg_copy[i].arg->num_bits <= 32) {
> +                    temp = tcg_temp_local_new_i32();
> +                    tcg_gen_mov_i32(temp, arg_copy[i].arg->in);
> +                } else if (arg_copy[i].arg->num_bits <= 64) {
> +                    temp = tcg_temp_local_new_i64();
> +                    tcg_gen_mov_i64(temp, arg_copy[i].arg->in);

This shouldn't compile.

You can't assign both TCGv_i32 and TCGv_i64 to the same variable.

What's going on here?


r~



reply via email to

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