WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
149203
Fix asm.js errors in WebAssembly tests
https://bugs.webkit.org/show_bug.cgi?id=149203
Summary
Fix asm.js errors in WebAssembly tests
Sukolsak Sakshuwong
Reported
2015-09-15 19:01:48 PDT
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.
Attachments
Patch
(11.35 KB, patch)
2015-09-15 19:04 PDT
,
Sukolsak Sakshuwong
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Sukolsak Sakshuwong
Comment 1
2015-09-15 19:04:47 PDT
Created
attachment 261280
[details]
Patch
Geoffrey Garen
Comment 2
2015-09-15 20:38:30 PDT
Comment on
attachment 261280
[details]
Patch r=me
WebKit Commit Bot
Comment 3
2015-09-15 20:52:35 PDT
Comment on
attachment 261280
[details]
Patch Clearing flags on attachment: 261280 Committed
r189844
: <
http://trac.webkit.org/changeset/189844
>
WebKit Commit Bot
Comment 4
2015-09-15 20:52:37 PDT
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug