Re: [PATCH 2/2][AArch64] Replace temporary inline assembler for vset_lane

2014-09-09 Thread Marcus Shawcroft
On 8 September 2014 17:39, Alan Lawrence wrote: > gcc/ChangeLog: > > * config/aarch64/arm_neon.h (aarch64_vset_lane_any): New (*2). > (vset_lane_f32, vset_lane_f64, vset_lane_p8, vset_lane_p16, > vset_lane_s8, vset_lane_s16, vset_lane_s32, vset_lane_s64, > vset_lan

[PATCH 2/2][AArch64] Replace temporary inline assembler for vset_lane

2014-09-08 Thread Alan Lawrence
The vset(q?)_lane_XXX intrinsics are presently implemented using inline asm blocks containing "ins" instructions - which are opaque to the mid-end. This patch replaces them with simple writes using gcc vector extension operations, with a lane-flip on bigendian (where ARM intrinsic lanes are inde