diff options
author | Christoph Bumiller <[email protected]> | 2010-07-25 22:21:38 +0200 |
---|---|---|
committer | Christoph Bumiller <[email protected]> | 2010-07-26 11:20:28 +0200 |
commit | 5811c6926450c4aafd2f9c87a2c6fe73b517f2c6 (patch) | |
tree | 320dd61d777b5fbb36744955da1377eccc501e6f /src/gallium/drivers/nv50/nv50_pc_print.c | |
parent | bb9d634730b7e97050e50d9238764a99099fbc7f (diff) |
nv50: simple reload elimination and local CSE
Diffstat (limited to 'src/gallium/drivers/nv50/nv50_pc_print.c')
-rw-r--r-- | src/gallium/drivers/nv50/nv50_pc_print.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gallium/drivers/nv50/nv50_pc_print.c b/src/gallium/drivers/nv50/nv50_pc_print.c index 00b50b4edce..82080779c37 100644 --- a/src/gallium/drivers/nv50/nv50_pc_print.c +++ b/src/gallium/drivers/nv50/nv50_pc_print.c @@ -181,7 +181,7 @@ nv_print_address(const char c, int buf, struct nv_value *a, int offset) static INLINE void nv_print_cond(struct nv_instruction *nvi) { - PRINT("%s%s%s$c%i ", + PRINT("%s%s %s$c%i ", gree, nv_cond_name(nvi->cc), mgta, nv_value_id(nvi->flags_src->value)); } @@ -198,7 +198,7 @@ nv_print_value(struct nv_value *value, struct nv_value *ind, ubyte type) PRINT(" %s%s", gree, nv_type_name(type)); if (!nv_value_allocated(value)) - reg_pfx = '%'; + reg_pfx = nv_value_allocated(value->join) ? '&' : '%'; switch (value->reg.file) { case NV_FILE_GPR: @@ -268,6 +268,8 @@ nv_print_instruction(struct nv_instruction *i) { int j; + PRINT("%i: ", i->serial); + if (i->flags_src) nv_print_cond(i); |