diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2021-06-14 16:34:06 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2021-06-15 16:18:48 +0100 |
commit | cd39e773e00bf98ab41e2ffaaeab7a00a3f68bd1 (patch) | |
tree | 258dcb2352517611ad520ba21cf08f391a3aeec2 /target | |
parent | 96a664d05c238ea1b64af2394b58e956fe0afe26 (diff) | |
download | qemu-cd39e773e00bf98ab41e2ffaaeab7a00a3f68bd1.zip qemu-cd39e773e00bf98ab41e2ffaaeab7a00a3f68bd1.tar.gz qemu-cd39e773e00bf98ab41e2ffaaeab7a00a3f68bd1.tar.bz2 |
target/arm: Diagnose UNALLOCATED in disas_simd_two_reg_misc_fp16
This fprintf+assert has been in place since the beginning.
It is prior to the fp_access_check, so we're still good to
raise sigill here.
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/381
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 20210604183506.916654-2-richard.henderson@linaro.org
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'target')
-rw-r--r-- | target/arm/translate-a64.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target/arm/translate-a64.c b/target/arm/translate-a64.c index 8713dfe..2477b55 100644 --- a/target/arm/translate-a64.c +++ b/target/arm/translate-a64.c @@ -13234,8 +13234,8 @@ static void disas_simd_two_reg_misc_fp16(DisasContext *s, uint32_t insn) case 0x7f: /* FSQRT (vector) */ break; default: - fprintf(stderr, "%s: insn 0x%04x fpop 0x%2x\n", __func__, insn, fpop); - g_assert_not_reached(); + unallocated_encoding(s); + return; } |