v8/test/cctest/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
..
c-signature.h Add MachineSignature, which is an encapsulation of the machine types for parameters and return values in a graph. 2014-08-28 13:17:38 +00:00
call-tester.h Contribution of PowerPC port (continuation of 422063005) 2015-01-16 07:42:15 +00:00
codegen-tester.cc Reland "Initial switch to Chromium-style CHECK_* and DCHECK_* macros.". 2015-01-30 09:29:41 +00:00
codegen-tester.h Reland "Initial switch to Chromium-style CHECK_* and DCHECK_* macros.". 2015-01-30 09:29:41 +00:00
function-tester.h Extract ParseInfo from CompilationInfo. 2015-03-09 14:51:24 +00:00
graph-builder-tester.cc Reland "Initial switch to Chromium-style CHECK_* and DCHECK_* macros.". 2015-01-30 09:29:41 +00:00
graph-builder-tester.h Remove the dependency of Zone on Isolate 2015-01-23 15:20:00 +00:00
graph-tester.h Make start node a value input to parameter nodes. 2014-08-05 08:47:39 +00:00
instruction-selector-tester.h Add MachineSignature, which is an encapsulation of the machine types for parameters and return values in a graph. 2014-08-28 13:17:38 +00:00
simplified-graph-builder.cc [turbofan] Add an extra frame state for deoptimization before binary op. 2015-03-09 08:37:17 +00:00
simplified-graph-builder.h Remove the dependency of Zone on Isolate 2015-01-23 15:20:00 +00:00
test-basic-block-profiler.cc Reland "Initial switch to Chromium-style CHECK_* and DCHECK_* macros.". 2015-01-30 09:29:41 +00:00
test-branch-combine.cc Remove deprecated v8::base::OS::nan_value(). 2015-01-21 14:38:58 +00:00
test-changes-lowering.cc Removed most of the bogus CompilationInfo constructor calls. 2015-02-11 14:12:15 +00:00
test-codegen-deopt.cc Extract ParseInfo from CompilationInfo. 2015-03-09 14:51:24 +00:00
test-control-reducer.cc [turbofan] Finally get rid of the generic algorithm. 2015-02-20 10:12:00 +00:00
test-gap-resolver.cc [turbofan] Remove global InstructionOperand caches. 2015-02-06 09:00:50 +00:00
test-graph-visualizer.cc [turbofan] Improve JSON output 2015-01-29 12:15:14 +00:00
test-instruction.cc [turbofan] remove dependence of InstructionBlock on BasicBlock 2015-02-25 16:37:58 +00:00
test-js-constant-cache.cc Reland "Initial switch to Chromium-style CHECK_* and DCHECK_* macros.". 2015-01-30 09:29:41 +00:00
test-js-context-specialization.cc [turbofan] Simplify context specialization and fix for OSR. 2015-02-19 11:36:50 +00:00
test-js-typed-lowering.cc [turbofan] Fix lazy deopt for JSToNumber conversions in binary operations. 2015-03-09 13:24:42 +00:00
test-jump-threading.cc [turbofan] remove dependence of InstructionBlock on BasicBlock 2015-02-25 16:37:58 +00:00
test-linkage.cc Allow passing sourceMapUrl when compiling scripts 2015-03-05 13:03:57 +00:00
test-loop-analysis.cc [turbofan] Fix loop analysis bug with certain phi structures. 2015-02-06 15:19:51 +00:00
test-loop-assignment-analysis.cc Extract ParseInfo from CompilationInfo. 2015-03-09 14:51:24 +00:00
test-machine-operator-reducer.cc [turbofan] Finally get rid of the generic algorithm. 2015-02-20 10:12:00 +00:00
test-node-algorithm.cc [turbofan] Finally get rid of the generic algorithm. 2015-02-20 10:12:00 +00:00
test-node-cache.cc Reland "Initial switch to Chromium-style CHECK_* and DCHECK_* macros.". 2015-01-30 09:29:41 +00:00
test-node.cc Reland "Initial switch to Chromium-style CHECK_* and DCHECK_* macros.". 2015-01-30 09:29:41 +00:00
test-operator.cc Reland "Initial switch to Chromium-style CHECK_* and DCHECK_* macros.". 2015-01-30 09:29:41 +00:00
test-osr.cc [turbofan] Don't compute unneeded gray set in AllNodes. 2015-02-20 12:30:30 +00:00
test-pipeline.cc Extract ParseInfo from CompilationInfo. 2015-03-09 14:51:24 +00:00
test-representation-change.cc Reland "Initial switch to Chromium-style CHECK_* and DCHECK_* macros.". 2015-01-30 09:29:41 +00:00
test-run-deopt.cc Fix non-TF target build after r23107. 2014-08-13 14:47:32 +00:00
test-run-inlining.cc [turbofan] Context specialize during inlining. 2015-03-10 08:37:26 +00:00
test-run-intrinsics.cc [turbofan] Add new JSIntrinsicsLowering reducer. 2015-01-26 09:06:03 +00:00
test-run-jsbranches.cc First simple implementation of for-of in TurboFan. 2015-01-14 15:24:29 +00:00
test-run-jscalls.cc Fix representation for CompareIC in JSGenericLowering. 2015-02-17 16:37:36 +00:00
test-run-jsexceptions.cc [turbofan] Preserve pending message while inside finally-block. 2015-03-06 10:16:02 +00:00
test-run-jsops.cc Fix representation for CompareIC in JSGenericLowering. 2015-02-17 16:37:36 +00:00
test-run-machops.cc [turbofan] Unify Math.floor / Math.ceil optimization. 2015-03-10 08:42:53 +00:00
test-run-properties.cc Fix windows warning. 2014-09-19 10:52:19 +00:00
test-run-stackcheck.cc Implement inlined stack-check guards in TurboFan. 2014-10-01 14:03:02 +00:00
test-run-stubs.cc Test StringLengthStub generation via TurboFan. 2015-02-27 06:56:59 +00:00
test-run-variables.cc Land the Fan (disabled) 2014-07-30 13:54:45 +00:00
test-simplified-lowering.cc [turbofan] Use the typer to statically detect Smis. 2015-03-02 13:10:42 +00:00
value-helper.h Reland "Initial switch to Chromium-style CHECK_* and DCHECK_* macros.". 2015-01-30 09:29:41 +00:00