Bug 245966
| Summary: | [RISC-V] integers sometimes interpreted as floats in createJSToWasmWrapper | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Juliana Sims <jsims> |
| Component: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | mark.lam, webkit-bug-importer, ysuzuki, zdobersek |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Local Build | ||
| Hardware: | All | ||
| OS: | All | ||
Juliana Sims
This appears to be caused by the ordering of the if statement checking types.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/100981070>
Mark Lam
Juliana, do you have a reproduction test case? Can we also have more context on the claim you made in the description https://bugs.webkit.org/show_bug.cgi?id=245966#c0?
Juliana Sims
(In reply to Mark Lam from comment #2)
> Juliana, do you have a reproduction test case? Can we also have more
> context on the claim you made in the description
> https://bugs.webkit.org/show_bug.cgi?id=245966#c0?
You can step through `createJSToWasmWrapper` in a debugger on RISC-V while running this code: https://github.com/xanlpz/wasm-tests/blob/main/tests/i32stackargs.js
Yusuke Suzuki
This is RISC-V’s specific bug.