summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2010-04-05 00:26:35 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2010-04-05 00:28:05 +0100
commit2187ec2112750bb898416358ac5463eebbf30049 (patch)
tree04b17610a6d49c682f08f914d7a619a67d5ee3cb
parent7682c42809078ad32552a2dae663510580158b28 (diff)
decode: There are 4 unpreserved registers on i915, not 3.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r--tools/intel_decode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/intel_decode.c b/tools/intel_decode.c
index 15040959..d2794391 100644
--- a/tools/intel_decode.c
+++ b/tools/intel_decode.c
@@ -371,7 +371,7 @@ i915_get_instruction_dst(uint32_t *data, int i, char *dstname, int do_mask)
sprintf(dstname, "oD%s%s", dstmask, sat);
break;
case 6:
- if (dst_nr > 2)
+ if (dst_nr > 3)
fprintf(out, "bad destination reg U%d\n", dst_nr);
sprintf(dstname, "U%d%s%s", dst_nr, dstmask, sat);
break;