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>
This commit is contained in:
Caio Marcelo de Oliveira Filho
2019-10-04 12:30:08 -07:00
parent 4b458b3e8f
commit c847bfaaf5
2 changed files with 864 additions and 1 deletions

View File

@@ -148,7 +148,7 @@ if with_tests
'fs_saturate_propagation', 'vf_float_conversions',
'vec4_register_coalesce', 'vec4_copy_propagation',
'vec4_cmod_propagation', 'vec4_dead_code_eliminate',
'eu_compact', 'eu_validate']
'eu_compact', 'eu_validate', 'fs_scoreboard']
test(
t,
executable(