Re: [PATCH 08/10] hw/9pfs: Allow using hw/9pfs with emscripten

2025-04-12 Thread Christian Schoenebeck
On Saturday, April 12, 2025 10:21:47 AM CEST Christian Schoenebeck wrote: > On Friday, April 11, 2025 12:47:29 PM CEST Kohei Tokunaga wrote: > > Hi Christian, > > > > > > Emscripten's fiber does not support submitting coroutines to other > > > > threads. So this commit modifies hw/9pfs/coth.h to d

Re: [PATCH 08/10] hw/9pfs: Allow using hw/9pfs with emscripten

2025-04-12 Thread Christian Schoenebeck
On Saturday, April 12, 2025 12:21:47 PM CEST Christian Schoenebeck wrote: > On Saturday, April 12, 2025 10:21:47 AM CEST Christian Schoenebeck wrote: > > On Friday, April 11, 2025 12:47:29 PM CEST Kohei Tokunaga wrote: [...] > Let my answer my own question: I just checked the wasi sources. The errn

Re: [PATCH 08/10] hw/9pfs: Allow using hw/9pfs with emscripten

2025-04-12 Thread Christian Schoenebeck
On Friday, April 11, 2025 12:47:29 PM CEST Kohei Tokunaga wrote: > Hi Christian, > > > > Emscripten's fiber does not support submitting coroutines to other > > > threads. So this commit modifies hw/9pfs/coth.h to disable this behavior > > > when compiled with Emscripten. > > > > The lack of being

Re: [PATCH 07/10] tcg: Add a TCG backend for WebAssembly

2025-04-12 Thread Kohei Tokunaga
Hi Philippe, thank you for the feedback. > > diff --git a/tcg/tcg.c b/tcg/tcg.c > > index dfd48b8264..154a4dafa7 100644 > > --- a/tcg/tcg.c > > +++ b/tcg/tcg.c > > @@ -136,6 +136,10 @@ static void tcg_out_goto_tb(TCGContext *s, int which); > > static void tcg_out_op(TCGContext *s, TCGOpcode opc,

Re: [PATCH 07/10] tcg: Add a TCG backend for WebAssembly

2025-04-12 Thread Kohei Tokunaga
Hi Philippe, let me resend the table as it was corrupted in the last mail. A: !defined(CONFIG_TCG_INTERPRETER) B: !defined(EMSCRIPTEN) | A | B | && | || | --+---+---+++ non-emcc + TCI| F | T | F | T | non-emcc + non-TCI| T | T | T | T | emcc + TCI