Mesa (master): i965: In disasm, gen6 fb writes don' t put msg reg # in destreg_conditionalmod.

Eric Anholt anholt at kemper.freedesktop.org
Mon Oct 4 23:09:20 UTC 2010


Module: Mesa
Branch: master
Commit: 739aec39bd25e79adce306d6cf48296b7c9e4fc0
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=739aec39bd25e79adce306d6cf48296b7c9e4fc0

Author: Eric Anholt <eric at anholt.net>
Date:   Mon Oct  4 15:03:32 2010 -0700

i965: In disasm, gen6 fb writes don't put msg reg # in destreg_conditionalmod.

It instead sensibly appears in the src0 slot.

---

 src/mesa/drivers/dri/i965/brw_disasm.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/mesa/drivers/dri/i965/brw_disasm.c b/src/mesa/drivers/dri/i965/brw_disasm.c
index 9052082..3a93b25 100644
--- a/src/mesa/drivers/dri/i965/brw_disasm.c
+++ b/src/mesa/drivers/dri/i965/brw_disasm.c
@@ -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) {




More information about the mesa-commit mailing list