On Mon, 16 Jun 2014 12:42:36 +0100 Julian Brown <jul...@codesourcery.com> wrote:
> Hi, > > As discussed several times previously, support for NEON in ARM > big-endian mode is quite broken because of differing assumptions about > lane ordering made by the ARM EABI and the set of NEON intrinsics on > the one hand, and the vectorizer on the other. > > Fixing this "properly" would involve quite a large overhaul of the > NEON backend implementation, and such an overhaul does not appear to > be forthcoming. Unfortunately this leaves big-endian mode with a > problem: even if the user is not explicitly using NEON intrinsics, > compiling with NEON and the vectorizer enabled (i.e. -O3) can quite > easily lead to incorrect code being generated. > > This is the patch we've been using internally for a while to work > around the problem. When applied: Ping? Julian