[Webkit-unassigned] [Bug 149254] New: Calling a float function on x86 in WebAssembly incorrectly returns a double
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Sep 17 02:08:30 PDT 2015
https://bugs.webkit.org/show_bug.cgi?id=149254
Bug ID: 149254
Summary: Calling a float function on x86 in WebAssembly
incorrectly returns a double
Classification: Unclassified
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
Assignee: webkit-unassigned at lists.webkit.org
Reporter: sukolsak at gmail.com
In WebAssembly on x86 (32-bit), when we call a function that returns a float or a double, we use the FSTP instruction to read the return value from the FPU register stack. The FSTP instruction converts the value to single-precision or double-precision floating-point format, depending on the destination operand. Currently, we always use double as the destination. This is wrong. We should use the correct type.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150917/a914ed32/attachment.html>
More information about the webkit-unassigned
mailing list