qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v10 03/16] target/riscv: clwz must ignore high bits (use shif


From: Richard Henderson
Subject: Re: [PATCH v10 03/16] target/riscv: clwz must ignore high bits (use shift-left & changed logic)
Date: Fri, 10 Sep 2021 15:40:26 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0

On 9/10/21 3:36 PM, Philipp Tomsich wrote:
Richard,

Did you have a chance to consider what to do with clzw?
I would prefer to avoid the extra extension instructions and change the implementation (and would update the commit message to provide more context), but if you insist on setting 'ctx->w' I'll just have the extra extensions emitted than delay this series further…

I don't mind not setting ctx->w, but bear in mind that UXL is going to automatically set this flag when executing RV32 on RV64. That's why I have written a tcg patch set to eliminate unnecessary sign-extensions.

Do swap out EXT_ZERO for EXT_NONE in the gen_unary call if you're not going to make use of any kind of source extension.


r~



reply via email to

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