aco/gfx10: Update constant addresses in fix_branches_gfx10.
authorTimur Kristóf <timur.kristof@gmail.com>
Wed, 16 Oct 2019 13:05:56 +0000 (15:05 +0200)
committerRhys Perry <pendingchaos02@gmail.com>
Mon, 21 Oct 2019 14:33:54 +0000 (14:33 +0000)
commit7e5f87b5330c919c141d887cd347c6363e1293e3
tree07eb3759ded443aa086c74e3e8def99385e36d01
parentf380398f8fb06d5f0b45aab94b8eef61a1a6788c
aco/gfx10: Update constant addresses in fix_branches_gfx10.

Due to a bug in GFX10 hardware, s_nop instructions must be added
if a branch is at 0x3f. We already do this, but forgot to also update
the constant addresses that come after this instruction.

Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
src/amd/compiler/aco_assembler.cpp