diff options
author | Richard Henderson | 2022-06-10 15:32:30 +0200 |
---|---|---|
committer | Peter Maydell | 2022-06-10 15:32:30 +0200 |
commit | fa33eead8674c08fee3ac770c20fd64970fa0142 (patch) | |
tree | 13fa02c2659092a6b6b4936c1f4e4689d749118f /target/arm/translate-a64.c | |
parent | target/arm: Mark exception helpers as noreturn (diff) | |
download | qemu-fa33eead8674c08fee3ac770c20fd64970fa0142.tar.gz qemu-fa33eead8674c08fee3ac770c20fd64970fa0142.tar.xz qemu-fa33eead8674c08fee3ac770c20fd64970fa0142.zip |
target/arm: Add coproc parameter to syn_fp_access_trap
With ARMv8, this field is always RES0.
With ARMv7, targeting EL2 and TA=0, it is always 0xA.
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20220609202901.1177572-3-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'target/arm/translate-a64.c')
-rw-r--r-- | target/arm/translate-a64.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/target/arm/translate-a64.c b/target/arm/translate-a64.c index d438fb89e7..e752589090 100644 --- a/target/arm/translate-a64.c +++ b/target/arm/translate-a64.c @@ -1162,7 +1162,8 @@ static bool fp_access_check(DisasContext *s) s->fp_access_checked = true; gen_exception_insn(s, s->pc_curr, EXCP_UDEF, - syn_fp_access_trap(1, 0xe, false), s->fp_excp_el); + syn_fp_access_trap(1, 0xe, false, 0), + s->fp_excp_el); return false; } s->fp_access_checked = true; |