v8/test
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
..
benchmarks [gn] Move build to gypfiles 2016-04-29 10:11:11 +00:00
cctest [turbofan] Initial version of number type feedback. 2016-06-02 09:23:13 +00:00
fuzzer [fuzzer] Force a GC before shutting down isolates 2016-05-06 12:53:29 +00:00
intl Fix Intl*parsing tests and test status 2016-05-27 17:59:19 +00:00
js-perf-test Add js-perf-test benchmark for generators. 2016-05-30 11:36:26 +00:00
memory Correctly name memory stat for context snapshot size. 2015-04-10 22:36:02 +00:00
message [test] Remove obsolete status file entries. 2016-05-30 13:22:51 +00:00
mjsunit [turbofan] Initial version of number type feedback. 2016-06-02 09:23:13 +00:00
mozilla [turbofan] Implement top-level lookup slot declaration. 2016-05-10 08:19:22 +00:00
preparser [gn] Move build to gypfiles 2016-04-29 10:11:11 +00:00
promises-aplus Make test262 test runner check for which exception is thrown 2016-03-14 21:20:37 +00:00
simdjs [gn] Move build to gypfiles 2016-04-29 10:11:11 +00:00
test262 [test] Remove obsolete status file entries. 2016-05-30 13:22:51 +00:00
unittests [turbofan] Initial version of number type feedback. 2016-06-02 09:23:13 +00:00
webkit [esnext] Fix various callsites to use is_resumable, not is_generator 2016-05-31 17:15:15 +00:00
bot_default.gyp [gn] Move build to gypfiles 2016-04-29 10:11:11 +00:00
bot_default.isolate Add a library suitable for libfuzzer with a small unit test runner shell 2016-01-26 10:39:03 +00:00
default.gyp [gn] Move build to gypfiles 2016-04-29 10:11:11 +00:00
default.isolate Add a library suitable for libfuzzer with a small unit test runner shell 2016-01-26 10:39:03 +00:00
ignition.gyp [gn] Move build to gypfiles 2016-04-29 10:11:11 +00:00
ignition.isolate [testing] Extend interpreter testing to webkit suite. 2016-03-14 16:12:50 +00:00
optimize_for_size.gyp [gn] Move build to gypfiles 2016-04-29 10:11:11 +00:00
optimize_for_size.isolate [swarming] Roll luci-go/isolate to 5c67f7b670b5. 2016-01-19 17:03:56 +00:00
perf.gyp [gn] Move build to gypfiles 2016-04-29 10:11:11 +00:00
perf.isolate [Swarming] Isolate perf tests. 2016-02-15 11:17:18 +00:00