• 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
..
benchmarks Loading commit data...
cctest Loading commit data...
common Loading commit data...
debugger Loading commit data...
fuzzer Loading commit data...
inspector Loading commit data...
intl Loading commit data...
js-perf-test Loading commit data...
memory Loading commit data...
message Loading commit data...
mjsunit Loading commit data...
mkgrokdump Loading commit data...
mozilla Loading commit data...
preparser Loading commit data...
promises-aplus Loading commit data...
test262 Loading commit data...
unittests Loading commit data...
wasm-spec-tests Loading commit data...
webkit Loading commit data...
BUILD.gn Loading commit data...
bot_default.gyp Loading commit data...
bot_default.isolate Loading commit data...
default.gyp Loading commit data...
default.isolate Loading commit data...
optimize_for_size.gyp Loading commit data...
optimize_for_size.isolate Loading commit data...
perf.gyp Loading commit data...
perf.isolate Loading commit data...