i965: Externalize conditional_modifier for use in dump_instruction().

Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
Matt Turner 2013-12-02 13:15:45 -08:00
parent 637dda1c30
commit b9af66528e
2 changed files with 2 additions and 1 deletions

View file

@ -1827,6 +1827,7 @@ struct opcode_desc {
};
extern const struct opcode_desc opcode_descs[128];
extern const char * const conditional_modifier[16];
extern const char * const reg_encoding[8];
void

View file

@ -101,7 +101,7 @@ const struct opcode_desc opcode_descs[128] = {
};
static const struct opcode_desc *opcode = opcode_descs;
static const char * const conditional_modifier[16] = {
const char * const conditional_modifier[16] = {
[BRW_CONDITIONAL_NONE] = "",
[BRW_CONDITIONAL_Z] = ".e",
[BRW_CONDITIONAL_NZ] = ".ne",