Mesa (master): freedreno/ir3: Add a note about the instructions in the disasm test.

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Jul 20 19:57:24 UTC 2020


Module: Mesa
Branch: master
Commit: ed3338f581e757b89b2f0015683f90a4a06640ef
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ed3338f581e757b89b2f0015683f90a4a06640ef

Author: Eric Anholt <eric at anholt.net>
Date:   Wed Jul  8 16:37:55 2020 -0700

freedreno/ir3: Add a note about the instructions in the disasm test.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5815>

---

 src/freedreno/ir3/tests/disasm.c | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/src/freedreno/ir3/tests/disasm.c b/src/freedreno/ir3/tests/disasm.c
index 6899471b448..7e3d1df2a40 100644
--- a/src/freedreno/ir3/tests/disasm.c
+++ b/src/freedreno/ir3/tests/disasm.c
@@ -22,6 +22,15 @@
  * IN THE SOFTWARE.
  */
 
+/* Unit test for disassembly of instructions.
+ *
+ * The goal is to take instructions we've seen the blob produce, and test that
+ * we can disassemble them correctly.  For the next person investigating the
+ * behavior of this instruction, please include the testcase it was generated
+ * from, and the qcom disassembly as a comment if it differs from what we
+ * produce.
+ */
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>



More information about the mesa-commit mailing list