Skip to content

AVR: fix branching codegen and add simple optimizer pass #92

@pointbazaar

Description

@pointbazaar

Since things like brne, brlt and such cannot really be used on their own for branches inside a function (they can only jump up to 64 instructions away), they all have to be

  • inverted branch and use long jmp

or use compare skip if equal and the like and then long jump.

So the mess created by this then has to be optimized away again in some optimizer pass.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions