v8/test/unittests/compiler
bmeurer 022ea7e057 [turbofan] Unify Math.floor / Math.ceil optimization.
Provide an intrinsic %MathFloor / %_MathFloor that is used to optimize
both Math.ceil and Math.floor, and use the JS inlining mechanism to
inline Math.ceil into TurboFan code. Although we need to touch code
outside of TurboFan to make this work, this does not affect the way we
handle Math.ceil and/or Math.floor in CrankShaft, because for CrankShaft
the old-style builtin function id based inlining still kicks in first.

Once this solution is stabilized, we can use it for Math.floor as well.
And once that is settled, we can establish it as the unified way to
inline builtins, and get rid of the specialized builtin function id
based inlining at some point.

Note that "builtin" applies to basically every piece of internal
JavaScript/intrinsics based code, so this also applies to the yet to be
defined JavaScript based code stubs and handlers.

BUG=v8:3953
LOG=n
R=yangguo@chromium.org,svenpanne@chromium.org

Review URL: https://codereview.chromium.org/990963003

Cr-Commit-Position: refs/heads/master@{#27086}
2015-03-10 08:42:53 +00:00
..
arm [turbofan] Allow 0.0 as immediate for floating-point comparison on arm/arm64. 2015-01-15 06:31:07 +00:00
arm64 [turbofan] Fix bogus covering of Word64Equal w/ zero. 2015-02-26 07:18:42 +00:00
ia32 [x86] Faster/shorter code for stack checks. 2015-03-09 11:06:45 +00:00
mips MIPS: [turbofan] Improve code generation for unordered comparisons. 2015-01-13 20:28:13 +00:00
mips64 MIPS: [turbofan] Improve code generation for unordered comparisons. 2015-01-13 20:28:13 +00:00
ppc Contribution of PowerPC port (continuation of 422063005) - PPC dir update 2015-02-05 19:02:07 +00:00
x64 [x86] Faster/shorter code for stack checks. 2015-03-09 11:06:45 +00:00
change-lowering-unittest.cc [turbofan] Use the typer to statically detect Smis. 2015-03-02 13:10:42 +00:00
common-operator-reducer-unittest.cc [turbofan] Cleanup Graph and related classes. 2015-01-07 14:42:49 +00:00
common-operator-unittest.cc Model exceptional edges from call nodes in TurboFan. 2015-02-20 09:55:00 +00:00
compiler-test-utils.h Move unit tests to test/unittests. 2014-10-01 08:34:25 +00:00
control-equivalence-unittest.cc [turbofan] Cleanup the NodeProperties. 2015-01-29 09:18:09 +00:00
control-flow-optimizer-unittest.cc [turbofan] Fix ControlFlowOptimizer to also handle non-control nodes in the control chain. 2015-03-03 06:11:52 +00:00
control-reducer-unittest.cc [turbofan] Ensure that NTLs are always properly connected to the end. 2015-01-27 14:02:28 +00:00
diamond-unittest.cc Introduce Diamond, a helper for building diamond-shaped control patterns. 2014-11-04 14:37:44 +00:00
graph-reducer-unittest.cc Convert compiler cctest to unit tests, part 1 2015-01-22 14:16:55 +00:00
graph-unittest.cc [turbofan] Cleanup the NodeProperties. 2015-01-29 09:18:09 +00:00
graph-unittest.h [turbofan] Optimize certain chains of Branch into a Switch. 2015-02-17 13:29:46 +00:00
instruction-selector-unittest.cc [turbofan] remove dependence of InstructionBlock on BasicBlock 2015-02-25 16:37:58 +00:00
instruction-selector-unittest.h Distinquish TestWithIsolateAndZone from TestWithZone 2015-01-23 16:29:57 +00:00
instruction-sequence-unittest.cc [turbofan] remove dependence of InstructionBlock on BasicBlock 2015-02-25 16:37:58 +00:00
instruction-sequence-unittest.h [turbofan] remove dependence of InstructionBlock on BasicBlock 2015-02-25 16:37:58 +00:00
js-builtin-reducer-unittest.cc [turbofan] Unify Math.floor / Math.ceil optimization. 2015-03-10 08:42:53 +00:00
js-intrinsic-lowering-unittest.cc Merged INLINE_OPTIMIZED intrinsic type into INLINE. 2015-03-06 11:01:52 +00:00
js-operator-unittest.cc [turbofan] Add an extra frame state for deoptimization before binary op. 2015-03-09 08:37:17 +00:00
js-typed-lowering-unittest.cc [turbofan] Avoid generating dead BooleanNot nodes in typed lowering. 2015-02-27 10:25:05 +00:00
load-elimination-unittest.cc [turbofan] Redundant load elimination. 2014-12-05 07:59:18 +00:00
loop-peeling-unittest.cc [turbofan] Cleanup the NodeProperties. 2015-01-29 09:18:09 +00:00
machine-operator-reducer-unittest.cc [turbofan] Support for %_DoubleHi, %_DoubleLo and %_ConstructDouble. 2015-03-05 09:22:38 +00:00
machine-operator-unittest.cc [turbofan] Unify Math.floor / Math.ceil optimization. 2015-03-10 08:42:53 +00:00
move-optimizer-unittest.cc [turbofan] optimize moves into merges 2015-02-24 12:49:33 +00:00
node-matchers-unittest.cc [turbofan] Cleanup use of virtual, OVERRIDE, FINAL. 2014-12-22 13:48:10 +00:00
node-properties-unittest.cc Add missing test for CollectControlProjections on calls. 2015-02-20 14:05:18 +00:00
node-test-utils.cc [turbofan] Unify Math.floor / Math.ceil optimization. 2015-03-10 08:42:53 +00:00
node-test-utils.h [turbofan] Unify Math.floor / Math.ceil optimization. 2015-03-10 08:42:53 +00:00
node-unittest.cc [turbofan] Initial attempt to cleanup Node and related classes. 2015-01-16 11:04:22 +00:00
opcodes-unittest.cc [turbofan] Strength reduction for inline comparisons. 2015-02-24 12:26:29 +00:00
register-allocator-unittest.cc [turbofan] only use two gaps 2015-02-24 11:09:20 +00:00
schedule-unittest.cc Model exceptional edges from call nodes in TurboFan. 2015-02-20 09:55:00 +00:00
scheduler-unittest.cc [turbofan] Add an extra frame state for deoptimization before binary op. 2015-03-09 08:37:17 +00:00
select-lowering-unittest.cc Reland "[turbofan] Fix select lowering" with fix. 2014-11-10 11:55:47 +00:00
simplified-operator-reducer-unittest.cc [turbofan] Cleanup the NodeProperties. 2015-01-29 09:18:09 +00:00
simplified-operator-unittest.cc [turbofan] Fix truncation/representation sloppiness wrt. bool/bit. 2015-01-14 12:06:56 +00:00
typer-unittest.cc [turbofan] Make the representation type component independent of the semantic component. 2015-02-12 15:21:33 +00:00
value-numbering-reducer-unittest.cc Mark some common operator with Property::kNoThrow. 2015-02-11 15:02:41 +00:00
zone-pool-unittest.cc Fix invalid use of int in Zone. 2015-02-12 12:47:18 +00:00