• Pierre Langlois's avatar
    [cctest] Record execution of parallel moves. · dabd1c0a
    Pierre Langlois authored
    This patch is a first step towards target independent tests for the
    CodeGenerator's AssembleMove and AssembleSwap methods.
    
    The tests on top of which this builds would only make sure that no assertions
    were triggered while generating moves, and that the hardware is happy executing
    them. We want to do more and check that the generated code performs correctly.
    
    In a nutshell, this introduces a facility that can do the following:
    
      - Setup an environment with registers and stack slots initialised with random
        values.
      - Perform a list of randomly generated moves and/or swaps on those.
      - Return the resulting environment.
    
    This is a first step and therefore is lacking a few things which will be
    implemented as follow-ups:
    
      - Support for kSimd128 moves and swaps.
      - Support large offsets for stack moves, as well as positive and negative.
      - Compare the resulting environment against the result of a reference
        simulation.
    
    For more background information, see this design document:
    https://docs.google.com/document/d/1KpioxCmtiB_9RaPaRidZPVtKlZ2BaNKGPYUjKFihhK0
    
    Bug: v8:6848
    Change-Id: Ie7dc837f4444df010ab58c64b722d40ee5d2af72
    Reviewed-on: https://chromium-review.googlesource.com/677398Reviewed-by: 's avatarJaroslav Sevcik <jarin@chromium.org>
    Reviewed-by: 's avatarBill Budge <bbudge@chromium.org>
    Commit-Queue: Pierre Langlois <pierre.langlois@arm.com>
    Cr-Commit-Position: refs/heads/master@{#48459}
    dabd1c0a
Name
Last commit
Last update
..
c-signature.h Loading commit data...
call-tester.h Loading commit data...
code-assembler-tester.h Loading commit data...
codegen-tester.cc Loading commit data...
codegen-tester.h Loading commit data...
function-tester.cc Loading commit data...
function-tester.h Loading commit data...
graph-builder-tester.h Loading commit data...
test-basic-block-profiler.cc Loading commit data...
test-branch-combine.cc Loading commit data...
test-code-assembler.cc Loading commit data...
test-code-generator.cc Loading commit data...
test-gap-resolver.cc Loading commit data...
test-graph-visualizer.cc Loading commit data...
test-instruction.cc Loading commit data...
test-js-constant-cache.cc Loading commit data...
test-js-context-specialization.cc Loading commit data...
test-js-typed-lowering.cc Loading commit data...
test-jump-threading.cc Loading commit data...
test-linkage.cc Loading commit data...
test-loop-analysis.cc Loading commit data...
test-machine-operator-reducer.cc Loading commit data...
test-multiple-return.cc Loading commit data...
test-node.cc Loading commit data...
test-operator.cc Loading commit data...
test-representation-change.cc Loading commit data...
test-run-bytecode-graph-builder.cc Loading commit data...
test-run-calls-to-external-references.cc Loading commit data...
test-run-deopt.cc Loading commit data...
test-run-intrinsics.cc Loading commit data...
test-run-jsbranches.cc Loading commit data...
test-run-jscalls.cc Loading commit data...
test-run-jsexceptions.cc Loading commit data...
test-run-jsobjects.cc Loading commit data...
test-run-jsops.cc Loading commit data...
test-run-load-store.cc Loading commit data...
test-run-machops.cc Loading commit data...
test-run-native-calls.cc Loading commit data...
test-run-stackcheck.cc Loading commit data...
test-run-stubs.cc Loading commit data...
test-run-unwinding-info.cc Loading commit data...
test-run-variables.cc Loading commit data...
test-run-wasm-machops.cc Loading commit data...
value-helper.h Loading commit data...