在 2023年04月18日 20:45, Tianrui Zhao 写道:
在 2023年04月18日 20:40, Song Gao 写道:
Hi, Tianrui
在 2023/4/18 下午8:20, Tianrui Zhao 写道:
Add CSR_CPUID register in cpu_env to save the cpu_index
value.
Why do we need to do this?
For tcg mode, it is enough to use cpu_index. You need to explain the
reaso
在 2023年04月18日 20:40, Song Gao 写道:
Hi, Tianrui
在 2023/4/18 下午8:20, Tianrui Zhao 写道:
Add CSR_CPUID register in cpu_env to save the cpu_index
value.
Why do we need to do this?
For tcg mode, it is enough to use cpu_index. You need to explain the
reason.
Thank.
Song Gao
We prepare to add kv
Hi, Tianrui
在 2023/4/18 下午8:20, Tianrui Zhao 写道:
Add CSR_CPUID register in cpu_env to save the cpu_index
value.
Why do we need to do this?
For tcg mode, it is enough to use cpu_index. You need to explain the reason.
Thank.
Song Gao
Signed-off-by: Tianrui Zhao
---
target/loongarch/cpu.c
Add CSR_CPUID register in cpu_env to save the cpu_index
value.
Signed-off-by: Tianrui Zhao
---
target/loongarch/cpu.c | 1 +
target/loongarch/cpu.h | 1 +
target/loongarch/insn_trans/trans_privileged.c.inc | 8 +---
3 files changed, 3 i