This code snippet demonstrates how to jump to a label by its index with brx.idx instruction.
Unlike the regular if (a == 2) { ... } else { ... } code (as well as switch (...) { ... }), the brx.idx solution avoids multiple setp.ne.s32 comparisons.
> make