diff options
author | Francisco Jerez <[email protected]> | 2017-12-06 11:42:54 -0800 |
---|---|---|
committer | Francisco Jerez <[email protected]> | 2017-12-07 15:56:49 -0800 |
commit | acf98ff933d338c521d7c6a57c17a010149eb344 (patch) | |
tree | 07af8a02ab269b0679ee9f7320acc4cbe7ad7f81 /src/intel/compiler/brw_fs.h | |
parent | af2c320190f3c73180f1610c8df955a7fa2a4d09 (diff) |
intel/fs: Teach instruction scheduler about GRF bank conflict cycles.
This should allow the post-RA scheduler to do a slightly better job at
hiding latency in presence of instructions incurring bank conflicts.
The main purpuse of this patch is not to improve performance though,
but to get conflict cycles to show up in shader-db statistics in order
to make sure that regressions in the bank conflict mitigation pass
don't go unnoticed.
Acked-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/intel/compiler/brw_fs.h')
-rw-r--r-- | src/intel/compiler/brw_fs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/intel/compiler/brw_fs.h b/src/intel/compiler/brw_fs.h index 0cec6fdcbad..9c160068a7e 100644 --- a/src/intel/compiler/brw_fs.h +++ b/src/intel/compiler/brw_fs.h @@ -146,6 +146,7 @@ public: bool opt_drop_redundant_mov_to_flags(); bool opt_register_renaming(); bool opt_bank_conflicts(); + unsigned bank_conflict_cycles(const fs_inst *inst) const; bool register_coalesce(); bool compute_to_mrf(); bool eliminate_find_live_channel(); |