i965: Fix disasm of a SEND's mlen and rlen on Ironlake.

This commit is contained in:
Eric Anholt 2010-07-08 12:35:48 -07:00
parent 3f906621da
commit a3cc7585ea

View file

@ -917,10 +917,17 @@ int brw_disasm (FILE *file, struct brw_instruction *inst, int gen)
}
if (space)
string (file, " ");
format (file, "mlen %d",
inst->bits3.generic.msg_length);
format (file, " rlen %d",
inst->bits3.generic.response_length);
if (gen == 5) {
format (file, "mlen %d",
inst->bits3.generic_gen5.msg_length);
format (file, " rlen %d",
inst->bits3.generic_gen5.response_length);
} else {
format (file, "mlen %d",
inst->bits3.generic.msg_length);
format (file, " rlen %d",
inst->bits3.generic.response_length);
}
}
pad (file, 64);
if (inst->header.opcode != BRW_OPCODE_NOP) {