|
From: | Richard Henderson |
Subject: | Re: [RFC PATCH 02/13] target/riscv: Support UXL32 for branch instructions |
Date: | Wed, 11 Aug 2021 18:42:23 -1000 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 |
On 8/11/21 12:40 PM, LIU Zhiwei wrote:
If the software doesn't use the high part, who cares the really value in high part? Do you know the benefit? Thanks again.
I do not.I simply presume that they already have the hardware, in the form of the addw instruction, etc.
The mistake, I think, was changing the definition of "add" in the first place, which required the addition of a different opcode "addw", which is then undefined for RV32. They should simply have had "addw" and "addq" as different opcodes that didn't change behaviour. Etc.
But what's done is done. r~
[Prev in Thread] | Current Thread | [Next in Thread] |