i think it'd be best if we did some kind of "if this then run this insn or else run this other insn" so compilers could have more flexibility. this would compile down to conditional moves and jumps on x86 for example. at least, that's what the advanced JIT compiler would do. the less sophisticated ones would probably just do normal branches instead of trying to figure out how to make it more branchless.
i think it'd be best if we did some kind of "if this then run this insn or else run this other insn" so compilers could have more flexibility. this would compile down to conditional moves and jumps on x86 for example. at least, that's what the advanced JIT compiler would do. the less sophisticated ones would probably just do normal branches instead of trying to figure out how to make it more branchless.