]> git.lizzy.rs Git - rust.git/commit - src/tools/clippy
Auto merge of #60588 - cuviper:be-simd-swap, r=alexcrichton
authorbors <bors@rust-lang.org>
Fri, 10 May 2019 15:29:40 +0000 (15:29 +0000)
committerbors <bors@rust-lang.org>
Fri, 10 May 2019 15:29:40 +0000 (15:29 +0000)
commitcff1bdbd77d29a28a94ff9f5bf1e1c84e5bb6259
treed25f94d26cd00383f33ca22b1df396293cae2061
parent0ac53da03dad79655e2f3e65a58f94a2f3314d5f
parent9a0a87a654303c69856d55dac419a2c440efc3d4
Auto merge of #60588 - cuviper:be-simd-swap, r=alexcrichton

Revert "Disable big-endian simd in swap_nonoverlapping_bytes"

This reverts commit 77bd4dc65406ba3cedbc779e6f6280868231912e (#43159).

Issue #42778 was formerly easy to reproduce on two big-endian targets,
`powerpc64` and `s390x`, so we disabled SIMD on this function for all
big-endian targets as a workaround.

I have re-tested this code on `powerpc64` and `s390x`, each with the
bundled LLVM 8 and with external LLVM 7 and LLVM 6, and the problems no
longer appear. So it seems safe to remove this workaround, although I'm
still a little uncomfortable that we never found a root-cause...

Closes #42778.
r? @arielb1
src/libcore/ptr.rs