[Webkit-unassigned] [Bug 168789] B3 should have a sane double-to-int opcode that behaves like JS

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 23 11:03:40 PST 2017


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

--- Comment #1 from Filip Pizlo <fpizlo at apple.com> ---
Check out how badly we compile this:

function foo(a) {
    a[0] = -1.0;
}

noInline(foo);

var a = new Int8Array(1);
for (var i = 0; i < 10000; ++i)
    foo(a);

We emit awful code in FTL for the "a[0] = -1.0" statement.

-- 
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/20170223/140367e2/attachment-0001.html>


More information about the webkit-unassigned mailing list