Re: [PATCH][ARM] Remove neon_reinterpret, use casts

2016-02-04 Thread Ramana Radhakrishnan
On 04/02/16 11:04, Ramana Radhakrishnan wrote: > On Mon, Jan 18, 2016 at 12:14 PM, Alan Lawrence wrote: >> This cleans up the neon_reinterpret code on ARM in a similar way to AArch64. >> Rather than a builtin backing onto an expander that emits a mov insn, we can >> just use a cast, because GCC de

Re: [PATCH][ARM] Remove neon_reinterpret, use casts

2016-02-04 Thread Ramana Radhakrishnan
On Mon, Jan 18, 2016 at 12:14 PM, Alan Lawrence wrote: > This cleans up the neon_reinterpret code on ARM in a similar way to AArch64. > Rather than a builtin backing onto an expander that emits a mov insn, we can > just use a cast, because GCC defines casts of vector types as keeping the same > bi

[PATCH][ARM] Remove neon_reinterpret, use casts

2016-01-18 Thread Alan Lawrence
This cleans up the neon_reinterpret code on ARM in a similar way to AArch64. Rather than a builtin backing onto an expander that emits a mov insn, we can just use a cast, because GCC defines casts of vector types as keeping the same bit pattern. On armeb, this fixes previously-failing test: gcc.ta