[Webkit-unassigned] [Bug 117147] [sh4] Add floating point absolute function support in baseline JIT

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 3 07:45:47 PDT 2013


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





--- Comment #3 from Julien Brianceau <jbrianceau at nds.com>  2013-06-03 07:44:20 PST ---
I've tested this patch on r151092 and I didn't see regressions when running
- Tools/Scripts/run-javascriptcore-tests
- Tools/Scripts/run-fast-jsc
- SunSpider 1.0


I used the following dumb test to measure the performance impact of this patch:

    var result = 1.123;
    for (var i = 0; i < 5000000; ++i) {
        result = result + Math.abs((i / -(i+1)) + (i * 1.1));
    }


Using r151092 jsc without patch, I get:
    real    0m 6.13s
    user    0m 6.00s
    sys     0m 0.10s


Using r151092 jsc with patch, I get about 4.3% better:
    real    0m 5.57s
    user    0m 5.45s
    sys     0m 0.10s

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list