commit | 4cfe91cf58e831bd8efb211184bd9c6e182e88f2 | [log] [tgz] |
---|---|---|
author | bradnelson <bradnelson@chromium.org> | Thu Dec 08 09:36:23 2016 |
committer | Commit bot <commit-bot@chromium.org> | Thu Dec 08 09:36:36 2016 |
tree | 9d58425056b6fb58ffefa7ec9704d2a731bbae85 | |
parent | 6051e89600733e5cd8cda110c8c68770ef485835 [diff] |
[wasm][asm.js] Use x&(x-1) trick to speed up life. Using x&(x-1) to check for power of two masks usable at runtime speeds up the life benchmark. Borrowing this from SimplifiedLowering for the AsmJsRemS internal wasm opcode. Leaving this out for general wasm as we should be doing this optimization in LLVM. BUG=v8:4203 TEST=None R=bmeurer@chromium.org Review-Url: https://codereview.chromium.org/2556963005 Cr-Commit-Position: refs/heads/master@{#41581}
V8 is Google's open source JavaScript engine.
V8 implements ECMAScript as specified in ECMA-262.
V8 is written in C++ and is used in Google Chrome, the open source browser from Google.
V8 can run standalone, or can be embedded into any C++ application.
V8 Project page: https://github.com/v8/v8/wiki
Checkout depot tools, and run
fetch v8
This will checkout V8 into the directory v8
and fetch all of its dependencies. To stay up to date, run
git pull origin gclient sync
For fetching all branches, add the following into your remote configuration in .git/config
:
fetch = +refs/branch-heads/*:refs/remotes/branch-heads/* fetch = +refs/tags/*:refs/tags/*
Please follow the instructions mentioned on the V8 wiki.