intel/fs/gen12: Add tests for scoreboard pass
authorCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Fri, 4 Oct 2019 19:30:08 +0000 (12:30 -0700)
committerCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Thu, 17 Oct 2019 17:02:35 +0000 (10:02 -0700)
commitc847bfaaf5cf4ef2550bb90e6f9db81db1870ee0
tree4bf455dc6b5831603ed982ccbf00d1925781f9f7
parent4b458b3e8f5fb01c23677a905554c070a8809fba
intel/fs/gen12: Add tests for scoreboard pass

Tests the combinations of cases of RAW, WAW and WAR hazards involving
both inorder and outoforder instructions.  Also tests that
dependencies combine and propagate correctly through control
flow (loops and conditionals).

v2: Add an extra test illustrating that the non-logical CFG edge
    between then-block and else-block is being taking into
    account.  (Curro)

Reviewed-by: Francisco Jerez <currojerez@riseup.net>
src/intel/compiler/meson.build
src/intel/compiler/test_fs_scoreboard.cpp [new file with mode: 0644]