• 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...
build_overrides Loading commit data...
docs Loading commit data...
gni Loading commit data...
gypfiles Loading commit data...
include Loading commit data...
infra Loading commit data...
samples Loading commit data...
src Loading commit data...
test Loading commit data...
testing Loading commit data...
third_party Loading commit data...
tools Loading commit data...
.clang-format Loading commit data...
.editorconfig Loading commit data...
.git-blame-ignore-revs Loading commit data...
.gitignore Loading commit data...
.gn Loading commit data...
.ycm_extra_conf.py Loading commit data...
AUTHORS Loading commit data...
BUILD.gn Loading commit data...
CODE_OF_CONDUCT.md Loading commit data...
ChangeLog Loading commit data...
DEPS Loading commit data...
LICENSE Loading commit data...
LICENSE.fdlibm Loading commit data...
LICENSE.strongtalk Loading commit data...
LICENSE.v8 Loading commit data...
LICENSE.valgrind Loading commit data...
Makefile Loading commit data...
Makefile.android Loading commit data...
OWNERS Loading commit data...
PRESUBMIT.py Loading commit data...
README.md Loading commit data...
WATCHLISTS Loading commit data...
codereview.settings Loading commit data...
snapshot_toolchain.gni Loading commit data...