Reviewed-by: Eric Anholt <eric@anholt.net>
if (inst->saturate)
printf(".sat");
if (inst->conditional_mod) {
- printf(".cmod");
+ printf("%s", conditional_modifier[inst->conditional_mod]);
if (!inst->predicate &&
(brw->gen < 5 || (inst->opcode != BRW_OPCODE_SEL &&
inst->opcode != BRW_OPCODE_IF &&
{
vec4_instruction *inst = (vec4_instruction *)be_inst;
- printf("%s ", brw_instruction_name(inst->opcode));
+ printf("%s", brw_instruction_name(inst->opcode));
+ if (inst->conditional_mod) {
+ printf("%s", conditional_modifier[inst->conditional_mod]);
+ }
+ printf(" ");
switch (inst->dst.file) {
case GRF: