intel/fs: Teach instruction scheduler about GRF bank conflict cycles.
authorFrancisco Jerez <currojerez@riseup.net>
Wed, 6 Dec 2017 19:42:54 +0000 (11:42 -0800)
committerFrancisco Jerez <currojerez@riseup.net>
Thu, 7 Dec 2017 23:56:49 +0000 (15:56 -0800)
commitacf98ff933d338c521d7c6a57c17a010149eb344
tree07af8a02ab269b0679ee9f7320acc4cbe7ad7f81
parentaf2c320190f3c73180f1610c8df955a7fa2a4d09
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 <mattst88@gmail.com>
src/intel/compiler/brw_fs.h
src/intel/compiler/brw_fs_bank_conflicts.cpp
src/intel/compiler/brw_schedule_instructions.cpp