intel/fs: Add helper functions inferring sync and exec pipeline of an instruction.
authorFrancisco Jerez <currojerez@riseup.net>
Fri, 19 Feb 2021 07:10:38 +0000 (23:10 -0800)
committerMarge Bot <eric+marge@anholt.net>
Fri, 16 Apr 2021 08:27:35 +0000 (08:27 +0000)
commitd4537770bbf6c78d49dc71abe2f79099448339eb
treee4ace3d32d1d436cc34081f1322ca65a94582905
parent12479abded50e7caf5544776f7b7ecf161c6c487
intel/fs: Add helper functions inferring sync and exec pipeline of an instruction.

Define two helper functions local to the software scoreboard lowering
pass describing the behavior of the hardware and code generator:
inferred_sync_pipe() calculates the ALU pipeline the hardware will
implicitly synchronize with when a RegDist SWSB annotation is used
without providing explicit pipeline synchronization information,
inferred_exec_pipe() infers the ALU pipeline that will execute the
instruction.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10000>
src/intel/compiler/brw_fs_scoreboard.cpp