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~