v8/test/unittests
danno bd0d9e7d87 [turbofan]: Support using push instructions for setting up tail call parameters
This optimizes the passing of stack parameters in function calls.

For some architectures (ia32/x64), using pushes when possible instead
of bumping the stack and then storing parameters generates much
smaller code, and in some cases is faster (e.g. when a push of a memory
location can implement a memory-to-memory copy and thus elide an
intermediate load. On others (e.g. ARM), the benefit is smaller, where
it's only possible to elide direct stack pointer adjustment in certain cases
or combine multiple register stores into a single instruction in other limited
situations. On yet other platforms (ARM64, MIPS), there are no push instructions,
and this optimization isn't used at all.

Ideally, this mechanism would be used for both tail calls and normal calls,
but "normal" calls are currently pretty efficient, and tail calls are very
inefficient, so this CL sets the bar low for building a new mechanism to
handle parameter pushing that only needs to raise the bar on tail calls for now.

The key aspect of this change is that adjustment to the stack pointer
for tail calls (and perhaps later real calls) is an explicit step separate from
instruction selection and gap resolution, but aware of both, making it possible
to safely recognize gap moves that are actually pushes.

Review-Url: https://codereview.chromium.org/2082263002
Cr-Commit-Position: refs/heads/master@{#37477}
2016-07-01 11:28:19 +00:00
..
base [builtins] Unify most of the remaining Math builtins. 2016-07-01 11:13:02 +00:00
compiler [turbofan]: Support using push instructions for setting up tail call parameters 2016-07-01 11:28:19 +00:00
heap [heap] Store the host address in the typed remembered set. 2016-06-03 08:31:09 +00:00
interpreter [interpreter] Streamline bytecode array writing. 2016-06-28 10:04:52 +00:00
libplatform [presubmit] Enabling readability/inheritance linter checking. 2015-11-04 13:08:42 +00:00
wasm Hooking up asm-wasm conversion. 2016-07-01 05:28:43 +00:00
BUILD.gn [gn] Use one source of truth for test source files. 2016-06-28 13:24:08 +00:00
cancelable-tasks-unittest.cc Fix gcc 4.9.2 signed-compare error. 2015-11-15 12:48:19 +00:00
char-predicates-unittest.cc Conform to the unittest naming convention. 2014-10-10 08:06:21 +00:00
counters-unittest.cc Fix more -Werror=sign-compare bugs with GCC 4.9.2 2015-05-11 11:07:15 +00:00
DEPS Move unit tests to test/unittests. 2014-10-01 08:34:25 +00:00
locked-queue-unittest.cc Add lock-based unbounded queue 2015-11-18 10:54:13 +00:00
register-configuration-unittest.cc [Turbofan] Add Simd128 registers to RegisterConfiguration. 2016-06-30 11:29:36 +00:00
run-all-unittests.cc [presubmit] Enabling readability/inheritance linter checking. 2015-11-04 13:08:42 +00:00
source-position-table-unittest.cc Use source position table for unoptimized code. 2016-06-28 05:52:52 +00:00
test-utils.cc Provide a convenience array buffer allocator 2016-06-29 07:42:40 +00:00
test-utils.h Provide a convenience array buffer allocator 2016-06-29 07:42:40 +00:00
unittests.gyp [gn] Use one source of truth for test source files. 2016-06-28 13:24:08 +00:00
unittests.isolate Reland [swarming] Isolate v8 testing. 2015-10-05 09:48:42 +00:00
unittests.status X87: disable some sin/cos/expm1/tan test cases for x87. 2016-06-29 09:02:51 +00:00