summaryrefslogtreecommitdiffstats
path: root/src/broadcom/compiler/vir_register_allocate.c
diff options
context:
space:
mode:
authorJose Maria Casanova Crespo <[email protected]>2019-07-02 18:31:09 +0200
committerJose Maria Casanova Crespo <[email protected]>2019-07-22 03:00:50 +0200
commitc341ab7ffbac822d3d3cbb3d3ae9d2a19ea3cc9a (patch)
tree70eba195aec80c8ba4d6f0f721fd957b386e933f /src/broadcom/compiler/vir_register_allocate.c
parentf7224014df0d366453739356b9968ca94ad43979 (diff)
v3d: add shader-db stat to count SFU stalls
SFU operations have a latency of 2 cicles, so if their results are used in the following cycle to a SFU instruction, the GPU stalls for an extra cycle until the result is available. This adds the number of stalls to the shader-db debug mode and sum of instruction + stalls to evaluate optimizations to schedule instructions that avoid generating sfu-stalls. v2: Rename v3d_qpu_generates_sfu_stalls to v3d_qpu_instr_is_sfu (Eric) Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/broadcom/compiler/vir_register_allocate.c')
0 files changed, 0 insertions, 0 deletions