[Webkit-unassigned] [Bug 149203] New: Fix asm.js errors in WebAssembly tests

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 15 19:01:48 PDT 2015


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

            Bug ID: 149203
           Summary: Fix asm.js errors in WebAssembly tests
    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

Our WebAssembly implementation uses asm.js for testing. Using Firefox to parse asm.js reveals many errors that are not caught by pack-asmjs. For example,
- asm.js does not allow the use of the multiplication operator (*) to multiply two integers, because the result can be so large that some lower bits of precision are lost. Math.imul is used instead.
- an int variable must be coerced to either signed (via x|0) or unsigned (via x>>>0) before it's returned.

-- 
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/20150916/babd80b8/attachment-0001.html>


More information about the webkit-unassigned mailing list