summaryrefslogtreecommitdiffstats
path: root/linux-user/syscall.c
diff options
context:
space:
mode:
authorRichard Henderson2019-10-23 17:00:49 +0200
committerPeter Maydell2019-10-24 18:16:28 +0200
commita8a79c7a078a3e55b47d1163915f2ba9a5b1fb63 (patch)
tree924d4dd046f25d030506f4fb0fe357da9cfcc1a7 /linux-user/syscall.c
parenttarget/arm: Add HELPER(rebuild_hflags_{a32, a64, m32}) (diff)
downloadqemu-a8a79c7a078a3e55b47d1163915f2ba9a5b1fb63.tar.gz
qemu-a8a79c7a078a3e55b47d1163915f2ba9a5b1fb63.tar.xz
qemu-a8a79c7a078a3e55b47d1163915f2ba9a5b1fb63.zip
target/arm: Rebuild hflags at EL changes
Begin setting, but not relying upon, env->hflags. Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20191023150057.25731-17-richard.henderson@linaro.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'linux-user/syscall.c')
-rw-r--r--linux-user/syscall.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index f1ab81b917..530c843303 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
@@ -9984,6 +9984,7 @@ static abi_long do_syscall1(void *cpu_env, int num, abi_long arg1,
aarch64_sve_narrow_vq(env, vq);
}
env->vfp.zcr_el[1] = vq - 1;
+ arm_rebuild_hflags(env);
ret = vq * 16;
}
return ret;