freedreno/ir3/delay: calculate delay properly for (rptN)'d instructions
authorRob Clark <robdclark@chromium.org>
Wed, 11 Mar 2020 22:06:51 +0000 (15:06 -0700)
committerMarge Bot <eric+marge@anholt.net>
Tue, 16 Jun 2020 20:56:15 +0000 (20:56 +0000)
commit9eed0c601137a6657d6c0de4c2362549456f9465
treea1a887a226e7e33d0a7e91a6d0967cd74082428b
parentc3b30963dd7fbca6bbc849f9f89bc0dec4b3fc1e
freedreno/ir3/delay: calculate delay properly for (rptN)'d instructions

When a sequence of same instruction is encoded with repeat flag,
destination registers are written on successive cycles.  Teach the
delay calculation about this.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5280>
src/freedreno/ir3/ir3_delay.c