[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v3 01/41] tcg: Enhance flush_icache_range with separate data
From: |
Alex Bennée |
Subject: |
Re: [PATCH v3 01/41] tcg: Enhance flush_icache_range with separate data pointer |
Date: |
Sat, 07 Nov 2020 21:08:55 +0000 |
User-agent: |
mu4e 1.5.6; emacs 28.0.50 |
Richard Henderson <richard.henderson@linaro.org> writes:
> On 11/6/20 12:31 PM, Alex Bennée wrote:
>>> +/* Flush the dcache at RW, and the icache at RX, as necessary. */
>>> +static inline void flush_idcache_range(uintptr_t rx, uintptr_t rw, size_t
>>> len)
>>> {
>>> - __builtin___clear_cache((char *)start, (char *)stop);
>>> + /* TODO: Copy this from gcc to avoid 4 loops instead of 2. */
>>
>> Why not do it now?
>
> Do you really want to be including that into a patch that touches all host
> backends? I do it later, in a change by itself.
Ahh I hadn't noticed. I was just thrown by the TODO and wondering what
it was.
>
>> I take it i386 is just too primitive to care about flushing things?
>
> Or the reverse. ;-)
>
>
> r~
--
Alex Bennée
- [PATCH v3 00/41] Mirror map JIT memory for TCG, Richard Henderson, 2020/11/05
- [PATCH v3 03/41] tcg: Move tcg epilogue pointer out of TCGContext, Richard Henderson, 2020/11/05
- [PATCH v3 04/41] tcg: Add in_code_gen_buffer, Richard Henderson, 2020/11/05
- [PATCH v3 02/41] tcg: Move tcg prologue pointer out of TCGContext, Richard Henderson, 2020/11/05
- [PATCH v3 05/41] tcg: Introduce tcg_splitwx_to_{rx,rw}, Richard Henderson, 2020/11/05
- [PATCH v3 06/41] tcg: Adjust TCGLabel for const, Richard Henderson, 2020/11/05
- [PATCH v3 07/41] tcg: Adjust tcg_out_call for const, Richard Henderson, 2020/11/05
- [PATCH v3 08/41] tcg: Adjust tcg_out_label for const, Richard Henderson, 2020/11/05
- [PATCH v3 09/41] tcg: Adjust tcg_register_jit for const, Richard Henderson, 2020/11/05
- [PATCH v3 10/41] tcg: Adjust tb_target_set_jmp_target for split-wx, Richard Henderson, 2020/11/05