Re: [PATCH v2 11/20] util/cacheflush.c: Update cache flushing mechanism for Emscripten

2025-04-22 Thread Kohei Tokunaga
Hi Philippe, >On 22/4/25 07:27, Kohei Tokunaga wrote: >> Although __builtin___clear_cache is used to flush the instruction cache for >> a specified memory region[1], this operation doesn't apply to wasm, as its >> memory isn't executable. Moreover, Emscripten does not support this builtin >> and f

Re: [PATCH v2 11/20] util/cacheflush.c: Update cache flushing mechanism for Emscripten

2025-04-21 Thread Philippe Mathieu-Daudé
On 22/4/25 07:27, Kohei Tokunaga wrote: Although __builtin___clear_cache is used to flush the instruction cache for a specified memory region[1], this operation doesn't apply to wasm, as its memory isn't executable. Moreover, Emscripten does not support this builtin and fails to compile it with t

Re: [PATCH v2 11/20] util/cacheflush.c: Update cache flushing mechanism for Emscripten

2025-04-21 Thread Philippe Mathieu-Daudé
On 22/4/25 07:27, Kohei Tokunaga wrote: Although __builtin___clear_cache is used to flush the instruction cache for a specified memory region[1], this operation doesn't apply to wasm, as its memory isn't executable. Moreover, Emscripten does not support this builtin and fails to compile it with t

[PATCH v2 11/20] util/cacheflush.c: Update cache flushing mechanism for Emscripten

2025-04-21 Thread Kohei Tokunaga
Although __builtin___clear_cache is used to flush the instruction cache for a specified memory region[1], this operation doesn't apply to wasm, as its memory isn't executable. Moreover, Emscripten does not support this builtin and fails to compile it with the following error. > fatal error: error