i965: In disasm, gen6 fb writes don't put msg reg # in destreg_conditionalmod.
authorEric Anholt <eric@anholt.net>
Mon, 4 Oct 2010 22:03:32 +0000 (15:03 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 4 Oct 2010 23:08:17 +0000 (16:08 -0700)
It instead sensibly appears in the src0 slot.

src/mesa/drivers/dri/i965/brw_disasm.c

index 90520824f6073e148e9af02539d2b79beddb64d6..3a93b253777436091b2e1aaa86b49d45ca3e73f2 100644 (file)
@@ -886,7 +886,7 @@ int brw_disasm (FILE *file, struct brw_instruction *inst, int gen)
        string (file, ")");
     }
 
-    if (inst->header.opcode == BRW_OPCODE_SEND)
+    if (inst->header.opcode == BRW_OPCODE_SEND && gen < 6)
        format (file, " %d", inst->header.destreg__conditionalmod);
 
     if (opcode[inst->header.opcode].ndst > 0) {