|
From: | Richard Henderson |
Subject: | Re: [PATCH v2 01/14] target/riscv: Sign extend pc for different XLEN |
Date: | Wed, 10 Nov 2021 11:18:53 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 |
On 11/10/21 8:04 AM, LIU Zhiwei wrote:
When pc is written, it is sign-extended to fill the widest supported XLEN. Signed-off-by: LIU Zhiwei<zhiwei_liu@c-sky.com> --- target/riscv/translate.c | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-)
Reviewed-by: Richard Henderson <richard.henderson@linaro.org> r~
[Prev in Thread] | Current Thread | [Next in Thread] |