Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

s390x: Improved TrapIf implementation #6079

Merged
merged 1 commit into from
Mar 23, 2023

Commits on Mar 21, 2023

  1. s390x: Improved TrapIf implementation

    Following up on the discussion in
    bytecodealliance#6011
    this adds an improved implementation of TrapIf for s390x
    using a single conditional branch instruction.
    
    If the trap conditions is true, we branch into the middle of
    the branch instruction - those middle two bytes are zero,
    which matches the encoding of the trap instruction.
    
    In addition, show the trap code for Trap and TrapIf
    instructions in assembler output.
    uweigand committed Mar 21, 2023
    Configuration menu
    Copy the full SHA
    ed41be2 View commit details
    Browse the repository at this point in the history