pan/midgard: Add units for more instructions
[mesa.git] / src / panfrost / midgard / midgard_compile.c
index f3842820f3d0bb8596d277dad499ae9e2170f6d1..1efc5538b42b2dbf980b4afaf8bbf2db77ac075c 100644 (file)
@@ -224,7 +224,11 @@ midgard_create_branch_extended( midgard_condition cond,
                                 unsigned dest_tag,
                                 signed quadword_offset)
 {
-        /* For unclear reasons, the condition code is repeated 8 times */
+        /* The condition code is actually a LUT describing a function to
+         * combine multiple condition codes. However, we only support a single
+         * condition code at the moment, so we just duplicate over a bunch of
+         * times. */
+
         uint16_t duplicated_cond =
                 (cond << 14) |
                 (cond << 12) |