]> git.proxmox.com Git - mirror_qemu.git/blobdiff - target/loongarch/cpu.h
target/loongarch: Extract set_pc() helper
[mirror_qemu.git] / target / loongarch / cpu.h
index 72109095e4567a1cb80a9078c26377f0d0754455..e1562695e898d6c951eee0c548fba34e8391f6ee 100644 (file)
@@ -443,6 +443,11 @@ static inline bool is_va32(CPULoongArchState *env)
     return va32;
 }
 
+static inline void set_pc(CPULoongArchState *env, uint64_t value)
+{
+    env->pc = value;
+}
+
 /*
  * LoongArch CPUs hardware flags.
  */