Re: [RFC PATCH 01/13] target/riscv: Add UXL to tb flags

2021-08-05 Thread LIU Zhiwei
On 2021/8/6 上午3:01, Richard Henderson wrote: On 8/4/21 4:53 PM, LIU Zhiwei wrote: For 32-bit applications run on 64-bit cpu, it may share some code with other 64-bit applictions. Thus we should distinguish the translated cache of the share code with a tb flag. Signed-off-by: LIU Zhiwei ---  

Re: [RFC PATCH 01/13] target/riscv: Add UXL to tb flags

2021-08-05 Thread Richard Henderson
On 8/4/21 4:53 PM, LIU Zhiwei wrote: For 32-bit applications run on 64-bit cpu, it may share some code with other 64-bit applictions. Thus we should distinguish the translated cache of the share code with a tb flag. Signed-off-by: LIU Zhiwei --- target/riscv/cpu.h | 15 +++

Re: [RFC PATCH 01/13] target/riscv: Add UXL to tb flags

2021-08-04 Thread Alistair Francis
On Thu, Aug 5, 2021 at 12:55 PM LIU Zhiwei wrote: > > For 32-bit applications run on 64-bit cpu, it may share some code > with other 64-bit applictions. Thus we should distinguish the translated > cache of the share code with a tb flag. > > Signed-off-by: LIU Zhiwei Reviewed-by: Alistair Francis

[RFC PATCH 01/13] target/riscv: Add UXL to tb flags

2021-08-04 Thread LIU Zhiwei
For 32-bit applications run on 64-bit cpu, it may share some code with other 64-bit applictions. Thus we should distinguish the translated cache of the share code with a tb flag. Signed-off-by: LIU Zhiwei --- target/riscv/cpu.h | 15 +++ target/riscv/translate.c | 3 +++ 2 fil