[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 7/7] target/microblaze: Diagnose invalid insns in delay slots
From: |
Richard Henderson |
Subject: |
Re: [PATCH 7/7] target/microblaze: Diagnose invalid insns in delay slots |
Date: |
Wed, 2 Sep 2020 11:03:14 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 |
On 9/2/20 9:35 AM, Richard Henderson wrote:
> +static bool invalid_delay_slot(DisasContext *dc, const char *insn_type)
> +{
> + if (dc->tb_flags & D_FLAG) {
> + qemu_log_mask(LOG_GUEST_ERROR,
> + "Invalid insn in delay slot: %s\n", insn_type);
I should probably log the pc as well.
r~
- [PATCH 0/7] target/microblaze improvements, Richard Henderson, 2020/09/02
- [PATCH 1/7] target/microblaze: Rename DISAS_UPDATE to DISAS_EXIT, Richard Henderson, 2020/09/02
- [PATCH 2/7] target/microblaze: Introduce DISAS_EXIT_NEXT, DISAS_EXIT_JUMP, Richard Henderson, 2020/09/02
- [PATCH 4/7] target/microblaze: Handle DISAS_EXIT_NEXT in delay slot, Richard Henderson, 2020/09/02
- [PATCH 3/7] target/microblaze: Replace cpustate_changed with DISAS_EXIT_NEXT, Richard Henderson, 2020/09/02
- [PATCH 6/7] target/microblaze: Use tcg_gen_lookup_and_goto_ptr, Richard Henderson, 2020/09/02
- [PATCH 7/7] target/microblaze: Diagnose invalid insns in delay slots, Richard Henderson, 2020/09/02
- [PATCH 5/7] target/microblaze: Force rtid, rted, rtbd to exit, Richard Henderson, 2020/09/02