panfrost/midgard: Print the actual source register for store operations
authorBoris Brezillon <boris.brezillon@collabora.com>
Mon, 20 Jan 2020 21:00:48 +0000 (22:00 +0100)
committerMarge Bot <eric+marge@anholt.net>
Tue, 21 Jan 2020 14:57:12 +0000 (14:57 +0000)
commit9134f22df2b216f587ef9fe85e6dd86ff226e0b7
tree8a4429df5ba99f552d1069ab47c2415fffa66686
parent14b37ebd44e6964f87bc256c0e36586dacb16e56
panfrost/midgard: Print the actual source register for store operations

Store operation use r26/r27 but have a word->reg set to 0 or 1 (base is
r26). Let's take this base offset into account in
print_load_store_instr().

Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3482>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3482>
src/panfrost/midgard/disassemble.c