On 24 November 2014 at 17:49, Andrew Pinski <pins...@gmail.com> wrote: > I had some local patches in my tree which adds a bswap tree code. > This breaks the aarch64 back-end vectorizing of byteswaps as we use > the standard mechanism to see if a tree code vectorizes (optabs). > Since it make sense to have consistent of the pattern names between > the vector version and the scalar version, I am proposing this patch > to make them consistent. > > OK? Build and tested on aarch64-elf with no regressions. > > Thanks, > Andrew Pinski > > ChangeLog: > * config/aarch64/aarch64-simd-builtins.def (bswap): Use CF2 rather > than CF10 so 2 is appended on the code. > * config/aarch64/aarch64-simd.md (bswap<mode>): Rename to ... > (bswap<mode>2): This so it matches for the optabs.
OK /Marcus