v8/test/cctest/compiler
bmeurer 43fe7d6854 [builtins] Add support for JS builtins written in TurboFan.
This CL adds support for builtins with JavaScript linkage written using
the TurboFan CodeStubAssembler, but with a JSCall descriptor (which was
already supported thanks to a previous patch by Ben Smith). As a first
example, we convert the Math.sqrt builtin and thereby get rid of the
%_MathSqrt intrinsic, which causes trouble for the representation
selection pass in the JavaScript pipeline.

R=mstarzinger@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#34989}
2016-03-22 13:25:54 +00:00
..
c-signature.h [wasm] Replace the BufferedRawMachineAssemblerTester in the WasmRunner. 2016-02-18 09:55:49 +00:00
call-tester.h S390: Initial test changes and files checkin. 2016-03-15 18:09:36 +00:00
codegen-tester.cc x87: fix the use of CheckFloatEq and CheckDoubleEq in test. 2016-03-07 12:30:23 +00:00
codegen-tester.h [wasm] Replace the BufferedRawMachineAssemblerTester in the WasmRunner. 2016-02-18 09:55:49 +00:00
function-tester.h Fix FunctionTester constructor from given parameter count. 2016-02-18 09:28:49 +00:00
graph-builder-tester.h [turbofan] Make MachineType a pair of enums. 2015-12-10 09:03:53 +00:00
test-basic-block-profiler.cc [turbofan] Make MachineType a pair of enums. 2015-12-10 09:03:53 +00:00
test-branch-combine.cc [turbofan] Make MachineType a pair of enums. 2015-12-10 09:03:53 +00:00
test-changes-lowering.cc x87: fix the use of CheckFloatEq and CheckDoubleEq in test. 2016-03-07 12:30:23 +00:00
test-code-stub-assembler.cc [builtins] Add support for JS builtins written in TurboFan. 2016-03-22 13:25:54 +00:00
test-gap-resolver.cc [turbofan] Make MachineType a pair of enums. 2015-12-10 09:03:53 +00:00
test-graph-visualizer.cc [tubofan] Remove .dot output of --trace-turbo 2015-12-11 16:58:31 +00:00
test-instruction.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-js-constant-cache.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-js-context-specialization.cc Remove strong mode support from binary operations. 2016-02-16 13:55:29 +00:00
test-js-typed-lowering.cc [stubs] Split ToNumberStub into reusable subparts. 2016-03-21 09:05:49 +00:00
test-jump-threading.cc Preparing the terrain for frame elision. This change is necessary to 2016-01-28 16:15:12 +00:00
test-linkage.cc [compiler] Unify naming of methods in compiler API. 2016-03-08 12:09:10 +00:00
test-loop-analysis.cc [turbofan] Make MachineType a pair of enums. 2015-12-10 09:03:53 +00:00
test-loop-assignment-analysis.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-machine-operator-reducer.cc [turbofan] Store nodes use only MachineRepresentation, not MachineType. 2015-12-11 15:34:16 +00:00
test-multiple-return.cc [turbofan] Make MachineType a pair of enums. 2015-12-10 09:03:53 +00:00
test-node.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-operator.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-osr.cc [turbofan] Make MachineType a pair of enums. 2015-12-10 09:03:53 +00:00
test-pipeline.cc [interpreter] CompilationInfo::unoptimized_code only for OSR. 2016-02-10 10:28:12 +00:00
test-representation-change.cc x87: fix the use of CheckFloatEq and CheckDoubleEq in test. 2016-03-07 12:30:23 +00:00
test-run-bytecode-graph-builder.cc [Interpreter] TurboFan implementation of intrinsics. 2016-03-22 11:36:05 +00:00
test-run-calls-to-external-references.cc [wasm] Int64Lowering of I64Div and I64Rem. 2016-03-15 06:52:53 +00:00
test-run-deopt.cc [turbofan] Enable tests for throwing into deopted code. 2016-02-12 10:50:17 +00:00
test-run-inlining.cc [Interpreter] Updates InlineTwice in test-run-inlining to match other tests. 2016-03-15 14:28:57 +00:00
test-run-intrinsics.cc [intrinsics] Remove unused intrinsic %_IncrementStatsCounter. 2016-03-22 06:35:39 +00:00
test-run-jsbranches.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-run-jscalls.cc [builtins] Migrate a bunch of Math builtins to C++. 2016-02-25 08:07:07 +00:00
test-run-jsexceptions.cc [turbofan] Deprecate --turbo-try-finally flag. 2016-02-05 15:20:44 +00:00
test-run-jsobjects.cc Add GetProperty/GetElement to JSReceiver and use it where possible 2016-03-08 17:30:42 +00:00
test-run-jsops.cc Ship ES2015 sloppy-mode const semantics 2016-01-11 23:09:59 +00:00
test-run-machops.cc PPC: [wasm] Int64Lowering of Int64Sub. 2016-03-16 15:26:25 +00:00
test-run-native-calls.cc X87: Change num_double_registers() to num_allocatable_double_registers() for TestStackSlot. 2016-02-01 10:54:33 +00:00
test-run-stackcheck.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-run-stubs.cc [compiler] Remove CodeStub from CompilationInfo 2016-01-20 15:18:14 +00:00
test-run-variables.cc Ship ES2015 sloppy-mode const semantics 2016-01-11 23:09:59 +00:00
test-simplified-lowering.cc [turbofan] Add more sanity checks to representation inference. 2016-03-22 06:50:52 +00:00
value-helper.h x87: fix the use of CheckFloatEq and CheckDoubleEq in test. 2016-03-07 12:30:23 +00:00