v8/test
peterwmwong 02b9847f4e Reland "[builtins]: Optimize CreateTypedArray to use element size log 2 for calculations."
This is a reland of c9ef0405c7

Original change's description:
> [builtins]: Optimize CreateTypedArray to use element size log 2 for calculations.
>
> TypedArrayElementsInfo now represents an element's size as a log 2 and typed as
> uintptr.  This simplifies and speeds up (avoids possible HeapNumber allocations) a
> number of calculations:
>
>   - Number of Elements (length) -> Byte Length - is now a WordShl
>   - Byte Length -> Number of Elements (length) - is now a WordShr
>   - Testing alignment (byte offset or length)  - is now a WordAnd
>
> These element/byte length related calculations are encapsulated in
> TypedArrayElementsInfo as struct methods.
>
> This reduces the size of CreateTypedArray by 2.125 KB (24%) on Mac x64.release:
>   - Before: 9,088
>   - After:  6,896
>
> This improves the performance of the following microbencmarks
>   - TypedArrays-ConstructWithBuffer: ~87%
>   - TypedArrays-SubarrayNoSpecies:   ~28%
>
> Bug: v8:7161
> Change-Id: I2239fd0e0af9d3ad55cd52318088d3c7c913ae44
> Reviewed-on: https://chromium-review.googlesource.com/c/1456299
> Commit-Queue: Peter Wong <peter.wm.wong@gmail.com>
> Reviewed-by: Jakob Gruber <jgruber@chromium.org>
> Reviewed-by: Simon Zünd <szuend@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#59531}

Bug: v8:7161, chromium:932034
Change-Id: I5c3dc34c549234417f95b404e7d49b2fd496fa69
Reviewed-on: https://chromium-review.googlesource.com/c/1476306
Commit-Queue: Peter Wong <peter.wm.wong@gmail.com>
Reviewed-by: Jakob Gruber <jgruber@chromium.org>
Reviewed-by: Simon Zünd <szuend@chromium.org>
Cr-Commit-Position: refs/heads/master@{#59728}
2019-02-20 12:06:53 +00:00
..
benchmarks Revert "Preparing v8 to use with python3 /test" 2019-02-20 10:20:59 +00:00
cctest Revert "Preparing v8 to use with python3 /test" 2019-02-20 10:20:59 +00:00
common Reland "[wasm] add wasm atomic wait callback test" 2019-02-20 05:17:07 +00:00
debugger [test] Explicitly add --turbo-inlining to tests that require it 2019-02-19 19:30:30 +00:00
fuzzer Reland "Reland "[test] refactor testsuite configuration"" 2019-02-06 09:02:09 +00:00
inspector Revert "[inspector] Add wasm profiling test" 2019-02-19 19:00:38 +00:00
intl [regexp] Remove internal match and replace methods 2019-02-19 14:21:31 +00:00
js-perf-test [Intl] Add String toLocale(Lower|Upper)Case perf benchmark 2019-02-15 05:53:04 +00:00
memory [snapshot] Remove the builtins snapshot 2018-10-31 10:18:28 +00:00
message [Intl] Remove --harmony-intl-list-format flag from test 2019-02-13 23:22:43 +00:00
mjsunit Reland "[builtins]: Optimize CreateTypedArray to use element size log 2 for calculations." 2019-02-20 12:06:53 +00:00
mkgrokdump [cleanup] #include heap-inl.h less often 2019-02-15 06:22:53 +00:00
mozilla Revert "Preparing v8 to use with python3 /test" 2019-02-20 10:20:59 +00:00
preparser Revert "Preparing v8 to use with python3 /test" 2019-02-20 10:20:59 +00:00
test262 Revert "Preparing v8 to use with python3 /test" 2019-02-20 10:20:59 +00:00
torque [torque] make overload resolution robust concerning branching contexts 2019-02-15 10:04:36 +00:00
unittests Revert "Preparing v8 to use with python3 /test" 2019-02-20 10:20:59 +00:00
wasm-js Reland "Reland "[test] refactor testsuite configuration"" 2019-02-06 09:02:09 +00:00
wasm-spec-tests Reland "Reland "[test] refactor testsuite configuration"" 2019-02-06 09:02:09 +00:00
webkit Reland "Reland "[test] refactor testsuite configuration"" 2019-02-06 09:02:09 +00:00
BUILD.gn Add target for common test headers 2019-02-12 09:30:01 +00:00
OWNERS Make tmrts an infra OWNER 2019-02-15 09:02:24 +00:00