qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v11 11/16] target/riscv: Add orc.b instruction for Zbb, remov


From: Richard Henderson
Subject: Re: [PATCH v11 11/16] target/riscv: Add orc.b instruction for Zbb, removing gorc/gorci
Date: Tue, 28 Sep 2021 14:45:00 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0

On 9/28/21 11:45 AM, Philipp Tomsich wrote:
The dup_const macro is returning an unsigned long long, which probably
should be fixed on the tcg.h-level instead of forcing a cast to target_long
at the call site.

No, dup_const is first and primarily for vector support, and therefore must return a 64-bit constant.

Or should we introduce a dup_const_tl?

Maybe.  I guess that could be a bit better than the cast.


r~



reply via email to

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