projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1beb33
)
v3d: Print the instruction we're testing in the QPU disasm/pack round-trip.
author
Eric Anholt
<eric@anholt.net>
Fri, 20 Jul 2018 19:29:39 +0000
(12:29 -0700)
committer
Eric Anholt
<eric@anholt.net>
Mon, 23 Jul 2018 17:21:42 +0000
(10:21 -0700)
If we fail initial disassembly, it's good to know what instruction it was
that failed.
src/broadcom/qpu/tests/qpu_disasm.c
patch
|
blob
|
history
diff --git
a/src/broadcom/qpu/tests/qpu_disasm.c
b/src/broadcom/qpu/tests/qpu_disasm.c
index 814e032bf1cfd269a895e769cb135aeaef3b05be..ae502ae2e50300d1c1c1ea36f6879d5ffdf4d350 100644
(file)
--- a/
src/broadcom/qpu/tests/qpu_disasm.c
+++ b/
src/broadcom/qpu/tests/qpu_disasm.c
@@
-112,9
+112,10
@@
main(int argc, char **argv)
for (int i = 0; i < ARRAY_SIZE(tests); i++) {
devinfo.ver = tests[i].ver;
- printf("Testing v%d.%d 0x%016llx... ",
+ printf("Testing v%d.%d 0x%016llx
(\"%s\")
... ",
devinfo.ver / 10, devinfo.ver % 10,
- (long long)tests[i].inst);
+ (long long)tests[i].inst,
+ tests[i].expected);
const char *disasm_output = v3d_qpu_disasm(&devinfo,
tests[i].inst);