On 8/18/23 02:41, Philippe Mathieu-Daudé wrote:
+static inline void set_pc(CPULoongArchState *env, uint64_t value) +{ + if (is_va32(env)) { + env->pc = (uint32_t)value;That would become loongarch32_cpu_set_pc().+ } else { + env->pc = value;This is the current loongarch_cpu_set_pc().
No, it would not. LA64 has a 32-bit address mode, much like MIPS, Power, and others. r~