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

KnownBits: refine srem for high-bits #109121

Merged
merged 2 commits into from
Sep 27, 2024
Merged

Commits on Sep 27, 2024

  1. KnownBits: refine KnownBits::srem for high-bits

    KnownBits::srem does not correctly set the leader zero-bits, omitting
    the fact that LHS may be known-negative or known-non-negative. Fix this.
    
    Alive2 proof: https://alive2.llvm.org/ce/z/WcDkSX
    artagnon committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    d449061 View commit details
    Browse the repository at this point in the history
  2. KnownBits: simplify code

    artagnon committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    27098f5 View commit details
    Browse the repository at this point in the history