freedreno/ir3: fix incorrect decoding of mov instructions
authorRob Clark <robclark@freedesktop.org>
Wed, 13 Jan 2016 18:07:51 +0000 (13:07 -0500)
committerRob Clark <robclark@freedesktop.org>
Sat, 16 Jan 2016 19:20:37 +0000 (14:20 -0500)
Signed-off-by: Rob Clark <robclark@freedesktop.org>
src/gallium/drivers/freedreno/ir3/disasm-a3xx.c

index 83ed5ffdca05fa37ae214e8aa72c9382fcfc6b58..1d5022b69c7855d5cc6e41ab27db830703b9cb4c 100644 (file)
@@ -220,7 +220,7 @@ static void print_instr_cat1(instr_t *instr)
                else if (cat1->off > 0)
                        printf("%c<a0.x + %d>", type, cat1->off);
                else
-                       printf("c<a0.x>");
+                       printf("%c<a0.x>", type);
        } else {
                print_reg_src((reg_t)(cat1->src), type_size(cat1->src_type) == 32,
                                cat1->src_r, cat1->src_c, cat1->src_im, false, false, false);