Skip to content

Add if and if-else instructions #4

Description

@sylv256

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions