freedreno/a6xx: Add register offset for STG/LDG
authorKristian H. Kristensen <hoegsberg@google.com>
Tue, 22 Oct 2019 23:03:36 +0000 (16:03 -0700)
committerKristian H. Kristensen <hoegsberg@google.com>
Fri, 8 Nov 2019 00:36:39 +0000 (16:36 -0800)
commit1f3b52ce503597ccb170b7caae3b3f19890dce46
tree3f02877e9ba61634bfd624626171dab48d3c65c1
parent3d16ec4a717266bb702b718ec05e083b83eb5490
freedreno/a6xx: Add register offset for STG/LDG

These instructions take a 64 bit iova as two conescutive registers and
a immediate offset.  This patch adds support for the offset to be a
single register, which is added to the 64 bit iova.

Signed-off-by: Kristian H. Kristensen <hoegsberg@google.com>
Acked-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Rob Clark <robdclark@gmail.com>
src/freedreno/ir3/disasm-a3xx.c
src/freedreno/ir3/instr-a3xx.h
src/freedreno/ir3/ir3.c
src/freedreno/ir3/ir3.h
src/freedreno/ir3/ir3_cp.c