[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 64/77] target/microblaze: Convert mbar to decodetree
From: |
Richard Henderson |
Subject: |
Re: [PATCH 64/77] target/microblaze: Convert mbar to decodetree |
Date: |
Thu, 27 Aug 2020 04:11:51 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 |
On 8/27/20 3:08 AM, Edgar E. Iglesias wrote:
>> Ok. I assume this follows a write to something like an interrupt controller
>> register?
>
> yes, kind of. It's a memory store to a device that raises an interrupt as a
> result of that store. The interrupt propagates to the CPU and on real HW if
> the pipeline depth of the core is small, it gets taken within a couple of
> cycles after the barrier completes. In QEMU, that delay can become very long
> if we don't break the TB.
Ok, yeah, same idea. The data store alters the set of interrupts pending.
> Architecturally, it would be wrong to make such assumptions about the pipeline
> but there's code out there already..
Yes indeed.
r~
- [PATCH 60/77] target/microblaze: Replace delayed_branch with tb_flags_to_set, (continued)
- [PATCH 60/77] target/microblaze: Replace delayed_branch with tb_flags_to_set, Richard Henderson, 2020/08/25
- [PATCH 61/77] target/microblaze: Tidy mb_cpu_dump_state, Richard Henderson, 2020/08/25
- [PATCH 62/77] target/microblaze: Try to keep imm and delay slot together, Richard Henderson, 2020/08/25
- [PATCH 63/77] target/microblaze: Convert brk and brki to decodetree, Richard Henderson, 2020/08/25
- [PATCH 64/77] target/microblaze: Convert mbar to decodetree, Richard Henderson, 2020/08/25
[PATCH 65/77] target/microblaze: Reorganize branching, Richard Henderson, 2020/08/25
[PATCH 66/77] target/microblaze: Use tcg_gen_lookup_and_goto_ptr, Richard Henderson, 2020/08/25
[PATCH 67/77] target/microblaze: Convert dec_br to decodetree, Richard Henderson, 2020/08/25
[PATCH 69/77] target/microblaze: Convert dec_rts to decodetree, Richard Henderson, 2020/08/25
[PATCH 68/77] target/microblaze: Convert dec_bcc to decodetree, Richard Henderson, 2020/08/25
[PATCH 73/77] target/microblaze: Convert dec_stream to decodetree, Richard Henderson, 2020/08/25