Skip to content

Padding instruction sequence with JA 0 #102

Description

@michaeldwong

Slots in the program have JA 0 instructions (instead of NOPs) after superoptimization so that the length of the optimized output instruction sequence is equivalent to the input instruction sequence; these JA 0 instructions have very little to no overhead. This is so that the optimized instructions can be patched into the ELF while still having the ELF offsets, reloc data, etc. still be applied. Future work includes ELF modifications so that an instruction sequence with a smaller length can be patched in without adding JA 0 instructions.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions