feat: add custom b-type instruction (jump)
This commit is contained in:
@@ -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 \
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user