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

Disable big-endian simd in swap_nonoverlapping_bytes #43159

Merged
merged 1 commit into from
Jul 15, 2017

Commits on Jul 11, 2017

  1. Disable big-endian simd in swap_nonoverlapping_bytes

    This is a workaround for rust-lang#42778, which was git-bisected to rust-lang#40454's
    optimizations to `mem::swap`, later moved to `ptr` in rust-lang#42819.  Natively
    compiled rustc couldn't even compile stage1 libcore on powerpc64 and
    s390x, but they work fine without this `repr(simd)`.  Since powerpc64le
    works OK, it seems probably related to being big-endian.
    
    The underlying problem is not yet known, but this at least makes those
    architectures functional again in the meantime.
    
    cc @arielb1
    cuviper committed Jul 11, 2017
    Configuration menu
    Copy the full SHA
    77bd4dc View commit details
    Browse the repository at this point in the history