OK /Marcus
On 25 April 2013 11:31, James Greenhalgh <james.greenha...@arm.com> wrote: > > Hi, > > This patch adds infrastructure for TARGET_FOLD_BUILTIN and uses it to > fold the `abs` builtins to GIMPLE/GENERIC. > > Tested on aarch64-none-elf with no regressions. > > Thanks > James > > --- > gcc/ > > 2013-04-22 James Greenhalgh <james.greenha...@arm.com> > > * config/aarch64/aarch64-builtins.c > (aarch64_fold_builtin): New. > * config/aarch64/aarch64-protos.h (aarch64_fold_builtin): New. > * config/aarch64/aarch64.c (TARGET_FOLD_BUILTIN): Define. > * config/aarch64/aarch64-simd-builtins.def (abs): New. > * config/aarch64/arm_neon.h > (vabs<q>_<f32, 64>): Implement using __builtin_aarch64_fabs.