[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: |
Richard Henderson |
|
Subject: |
Re: [PATCH v3 01/41] tcg: Enhance flush_icache_range with separate data pointer |
|
Date: |
Fri, 6 Nov 2020 14:51:13 -0800 |
|
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 |
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.
> I take it i386 is just too primitive to care about flushing things?
Or the reverse. ;-)
r~
- [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