feat: add custom b-type instruction (jump)

This commit is contained in:
2026-05-13 16:46:05 +02:00
parent afa59627a7
commit 6d8a808bd1
2 changed files with 17 additions and 4 deletions

View File

@@ -13,3 +13,12 @@
_result; \
})
#define custom_jmp_neq(a, b, label_true) \
asm goto( \
".insn b 0x2B, 0x00, %0, %1, %l2" \
: \
: "r" ((int32_t)(a)), \
"r" ((int32_t)(b)) \
: \
: label_true \
)