Rebuild flags after writing to cp registers
This is buggy as this momemt per https://github.com/unicorn-engine/unicorn/issues/1789#issuecomment-1546807410 We need either doc this or save more information for a context
This commit is contained in:
parent
f65f8f8380
commit
a24e53d794
@ -323,6 +323,7 @@ static uc_err reg_write(CPUARMState *env, unsigned int regid, const void *value)
|
||||
break;
|
||||
case UC_ARM64_REG_CP_REG:
|
||||
ret = write_cp_reg(env, (uc_arm64_cp_reg *)value);
|
||||
arm_rebuild_hflags(env);
|
||||
break;
|
||||
case UC_ARM64_REG_FPCR:
|
||||
vfp_set_fpcr(env, *(uint32_t *)value);
|
||||
|
Loading…
Reference in New Issue
Block a user