On 4/30/24 07:25, Matheus Tavares Bernardino wrote:
+void test_multi_cof(void)
+{
+    asm volatile(
+        "p0 = cmp.eq(r0, r0)\n"
+        "{\n"
+        "    if (p0) jump test_multi_cof_unaligned\n"
+        "    jump 1f\n"
+        "}\n"
+        "1: nop\n"
+        : : : "p0");
+}

I will say you could just add the label to the end of the asm here, like

        .byte 0
test_multi_cof_unaligned:

rather than use a separate source file.


r~

Reply via email to