i965: Add disasm for the flag register.
authorEric Anholt <eric@anholt.net>
Tue, 26 Oct 2010 17:56:53 +0000 (10:56 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 26 Oct 2010 18:21:44 +0000 (11:21 -0700)
src/mesa/drivers/dri/i965/brw_disasm.c

index 57972626128fcd698da5fce6da60d9254ee32ecf..962c04128b8280deb74b9f6a3a7638ee32b05556 100644 (file)
@@ -461,6 +461,9 @@ static int reg (FILE *file, GLuint _reg_file, GLuint _reg_nr)
        case BRW_ARF_ACCUMULATOR:
            format (file, "acc%d", _reg_nr & 0x0f);
            break;
+       case BRW_ARF_FLAG:
+           format (file, "f%d", _reg_nr & 0x0f);
+           break;
        case BRW_ARF_MASK:
            format (file, "mask%d", _reg_nr & 0x0f);
            break;