[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] target/riscv: Adjust privilege level for HLV(X)/HSV instruct
Re: [PATCH] target/riscv: Adjust privilege level for HLV(X)/HSV instructions
Thu, 22 Oct 2020 08:21:21 -0700
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0
On 10/21/20 12:21 PM, Alistair Francis wrote:
>> mmuidx, you would use cpu_lduw_mmuidx_ra. I would also split the function
>> two, so that one performs HLVX.HU and the other HLVX.WU, so that you don't
>> to pass the size as a parameter.
> I'm not clear what you mean here.
target_ulong helper_hyp_x_load(CPURISCVState *env,
target_ulong address, target_ulong attrs, target_ulong memop)
should be split to
target_ulong helper_hlvx_hu(CPURISCVState *env,
target_ulong helper_hlvx_hw(CPURISCVState *env,
(attrs is already unused?) so that memop is not required.