Reviewed-by: Eric Anholt <eric@anholt.net>
printf("???");
break;
}
- printf(", ");
+ printf(":%s, ", reg_encoding[inst->dst.type]);
for (int i = 0; i < 3 && inst->src[i].file != BAD_FILE; i++) {
if (inst->src[i].negate)
if (inst->src[i].abs)
printf("|");
+ if (inst->src[i].file != IMM) {
+ printf(":%s", reg_encoding[inst->src[i].type]);
+ }
+
if (i < 2 && inst->src[i + 1].file != BAD_FILE)
printf(", ");
}
if (inst->dst.writemask & 8)
printf("w");
}
- printf(", ");
+ printf(":%s, ", reg_encoding[inst->dst.type]);
for (int i = 0; i < 3 && inst->src[i].file != BAD_FILE; i++) {
if (inst->src[i].negate)
if (inst->src[i].abs)
printf("|");
+ if (inst->src[i].file != IMM) {
+ printf(":%s", reg_encoding[inst->src[i].type]);
+ }
+
if (i < 2 && inst->src[i + 1].file != BAD_FILE)
printf(", ");
}