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

x64: Implement some minor optimizations related to SIMD lowerings #8839

Merged
merged 3 commits into from
Jun 19, 2024

Commits on Jun 19, 2024

  1. Configuration menu
    Copy the full SHA
    a0ac271 View commit details
    Browse the repository at this point in the history
  2. x64: Optimize vector compare-and-branch

    This commit implements lowering optimizations for the `vall_true` and
    `vany_true` CLIF instructions when combined with `brif`. This is in the
    same manner as `icmp` and `fcmp` combined with `brif` where the result
    of the comparison is never materialized into a general purpose register
    which helps lower register pressure and remove some instructions.
    alexcrichton committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    c1bad76 View commit details
    Browse the repository at this point in the history
  3. x64: Optimize vconst with an all-ones pattern

    This has a single-instruction lowering which doesn't load from memory so
    it's probably cheaper than loading all-ones from memory.
    alexcrichton committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    3eb0d53 View commit details
    Browse the repository at this point in the history