[Webkit-unassigned] [Bug 222315] Enable WASM on Windows

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 5 08:33:14 PDT 2023


https://bugs.webkit.org/show_bug.cgi?id=222315

--- Comment #16 from Ian Grunert <ian.grunert at gmail.com> ---
Yep the segfault remains on Windows, the change to fix those test failures was in AT&T assembly output only (in the const0x function).

I'm tempted to try Intel assembly output on the Mac. That'd help validate the changes made to offlineasm for Intel output. Though I don't see anything obviously wrong in the assembly output, most of these instructions didn't change:

```
  _wasm_function_prologue::
    push rbp                             ; LowLevelInterpreter.asm:850
    mov rbp, rsp                         ; LowLevelInterpreter.asm:856
    sub rsp, 32                          ; WebAssembly.asm:256
    mov qword ptr [-8 + rbp], r13        ; WebAssembly.asm:260
    mov qword ptr [-16 + rbp], rbx       ; WebAssembly.asm:261
    mov r12, qword ptr [40 + rbx]        ; WebAssembly.asm:331
    mov r13, qword ptr [48 + rbx]        ; WebAssembly.asm:332
    mov qword ptr [16 + rbp], rbx        ; WebAssembly.asm:381
    mov rax, qword ptr [24 + rbp]        ; WebAssembly.asm:382
    and rax, -4                          ; WebAssembly.asm:384
    lea r11, __imp_g_wtfConfig           ; WebAssembly.asm:386
    mov r11, qword ptr [0 + r11]         ; WebAssembly.asm:387
    add rax, r11                         ; WebAssembly.asm:388
    mov qword ptr [-24 + rbp], rax       ; WebAssembly.asm:389
    mov r11d, dword ptr [48 + rax]       ; WebAssembly.asm:392 <-- segfault
```

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230905/04cec5e4/attachment.htm>


More information about the webkit-unassigned mailing list