v8/test/unittests
jarin 216bcf9fb3 [turbofan] Initial version of number type feedback.
This introduces optimized number operations based on type feedback.

Summary of changes:

1. Typed lowering produces SpeculativeNumberAdd/Subtract for JSAdd/Subtract if
   there is suitable feedback. The speculative nodes are connected to both the
   effect chain and the control chain and they retain the eager frame state.

2. Simplified lowering now executes in three phases:
  a. Propagation phase computes truncations by traversing the graph from uses to
     definitions until checkpoint is reached. It also records type-check decisions
     for later typing phase, and computes representation.
  b. The typing phase computes more precise types base on the speculative types (and recomputes
     representation for affected nodes).
  c. The lowering phase performs lowering and inserts representation changes and/or checks.

3. Effect-control linearization lowers the checks to machine graphs.

Notes:

- SimplifiedLowering will be refactored to have handling of each operation one place and
  with clearer input/output protocol for each sub-phase. I would prefer to do this once
  we have more operations implemented, and the pattern is clearer.

- The check operations (Checked<A>To<B>) should have some flags that would affect
  the kind of truncations that they can handle. E.g., if we know that a node produces
  a number, we can omit the oddball check in the CheckedTaggedToFloat64 lowering.

- In future, we want the typer to reuse the logic from OperationTyper.

BUG=v8:4583
LOG=n

Review-Url: https://codereview.chromium.org/1921563002
Cr-Commit-Position: refs/heads/master@{#36674}
2016-06-02 09:23:13 +00:00
..
base [base] Implement CPU time on Windows. 2016-06-01 18:55:51 +00:00
compiler [turbofan] Initial version of number type feedback. 2016-06-02 09:23:13 +00:00
heap Represent speed in GCTracer functions as double instead of int. 2016-03-29 17:34:41 +00:00
interpreter Fix bytecode operand values 2016-06-01 13:05:35 +00:00
libplatform [presubmit] Enabling readability/inheritance linter checking. 2015-11-04 13:08:42 +00:00
wasm [wasm] Refactor encoder.h to use a proper buffer and remove OldFunctions section. 2016-05-25 16:13:50 +00:00
BUILD.gn [gn] Add unittests 2016-06-01 12:29:40 +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
run-all-unittests.cc [presubmit] Enabling readability/inheritance linter checking. 2015-11-04 13:08:42 +00:00
test-utils.cc Debugger: move implementation to a separate folder. 2015-07-31 11:08:15 +00:00
test-utils.h Expose a lower bound of malloc'd memory via heap statistics 2016-04-01 10:01:56 +00:00
unittests.gyp [gn] Add unittests 2016-06-01 12:29:40 +00:00
unittests.isolate Reland [swarming] Isolate v8 testing. 2015-10-05 09:48:42 +00:00
unittests.status Revert of [test] Skip failing test after clang roll. (patchset #1 id:1 of https://codereview.chromium.org/1955013002/ ) 2016-05-09 20:12:34 +00:00