LGTM! On Mon, Jan 20, 2014 at 10:52 AM, Feng, Haitao <haitao.f...@intel.com> wrote: > Description: > > Today in JavaScript, it is not possible to take advantage of the SIMD > instructions available in the x86 and ARM processors in a programmable > fashion. With web becoming a mainstream platform, delivering large and > complex applications with feature sets and performance comparable to > native applications necessitates bringing of SIMD to JavaScript. > > In 2013, as part of the Intel/Mozilla/Google joint effort on bringing > SIMD to JavaScript, we (Ningxin Hu, Haitao Feng, Weiliang Lin) > prototyped the ES7 SIMD strawman proposal by John McCutchan and Peter > Jensen (https://github.com/johnmccutchan/ecmascript_simd) in the Google > V8 JavaScript engines. We have proved that the JavaScript SIMD API can > be compiled to efficient x86 SSE instructions with predicable > performance boost of 3x-6x across a variety of benchmarks. > > We'd like to improve the quality of this prototype to production level > by code reviewing and more test case coverage, and provide this > JavaScript SIMD API to the Crosswalk JavaScript developers. > > Affected component: > 1. We need to fork V8 tree. > 2. We need to set up V8 buildbot and performance bot for checking the > SIMD stuff does not break anything or cause V8 performance regression. > The V8 buildbot source code is at > http://src.chromium.org/viewvc/chrome/trunk/tools/build/masters/master.client.v8/, > and we could use http://hg.mozilla.org/users/danderson_mozilla.com/awfy > to track performance initially. > 3. We need QA to write more test cases and integrate them into the buildbot > mentioned above. > > Related feature: (Jira ID) > https://crosswalk-project.org/jira/browse/XWALK-875 > > Target Release: (Crosswalk N) > Crosswalk 5 > > Implementation details: > This feature is already prototyped, after getting the open source PDT > approval, we have submitted a code review entry at > https://codereview.chromium.org/90643003/ to collect high-level feedback > from Google v8 team. I also attached the design document last year for > your reference. > > To implement it in the Crosswalk V8, we will: > 1. Refine the implementation of the SIMD API in the C++ runtime. When > the machine has no SIMD instructions, we will fall-back to C++ runtime. > 2. Refine the implementation of the SIMD API in the optimizing compiler > with acceleration. > > Thanks > -Haitao > > _______________________________________________ > Crosswalk-dev mailing list > Crosswalk-dev@lists.crosswalk-project.org > https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-dev >
-- Kenneth Rohde Christiansen Web Platform Architect, Intel Corporation. Phone +45 4294 9458 ﹆﹆﹆ _______________________________________________ Crosswalk-dev mailing list Crosswalk-dev@lists.crosswalk-project.org https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-dev