Re: [PATCH v3 0/6] Add loongarch32 mode for loongarch64-softmmu

2023-08-07 Thread Jiajie Chen
On 2023/8/7 23:56, Richard Henderson wrote: On 8/7/23 08:43, Jiajie Chen wrote: There are changes missing for the translator. All of the doubleword (D) instructions must be rejected in LA32 mode. I was trying to do this, but I failed to figure out how to read the current cpucfg when translat

Re: [PATCH v3 0/6] Add loongarch32 mode for loongarch64-softmmu

2023-08-07 Thread Richard Henderson
On 8/7/23 08:43, Jiajie Chen wrote: There are changes missing for the translator. All of the doubleword (D) instructions must be rejected in LA32 mode. I was trying to do this, but I failed to figure out how to read the current cpucfg when translating instructions to TCP ops. This problem appli

Re: [PATCH v3 0/6] Add loongarch32 mode for loongarch64-softmmu

2023-08-07 Thread Jiajie Chen
On 2023/8/7 23:40, Richard Henderson wrote: On 8/7/23 02:44, Jiajie Chen wrote: This patch series allow qemu-system-loongarch64 to emulate a LoongArch32 machine. A mode enum is added to CPUArchState to select LA32 or LA64 at runtime. A new CPU model is added for loongarch32. Initial GDB suppor

Re: [PATCH v3 0/6] Add loongarch32 mode for loongarch64-softmmu

2023-08-07 Thread Richard Henderson
On 8/7/23 02:44, Jiajie Chen wrote: This patch series allow qemu-system-loongarch64 to emulate a LoongArch32 machine. A mode enum is added to CPUArchState to select LA32 or LA64 at runtime. A new CPU model is added for loongarch32. Initial GDB support is added. Changes since v2: - Fix typo in p

[PATCH v3 0/6] Add loongarch32 mode for loongarch64-softmmu

2023-08-07 Thread Jiajie Chen
This patch series allow qemu-system-loongarch64 to emulate a LoongArch32 machine. A mode enum is added to CPUArchState to select LA32 or LA64 at runtime. A new CPU model is added for loongarch32. Initial GDB support is added. Changes since v2: - Fix typo in previous commit - Fix VPPN width in TLB