We record the flags to use for the intrinsics in aarch64_simd_intrinsic_data, so use it when initialising them
rather than using a hardcoded FLAG_AUTO_FP. The current vreinterpret intrinsics use FLAG_AUTO_FP anyway so this
patch is an NFC but this will be needed as we migrate more builtins into the intrinsics infrastructure.
Bootstrapped and tested on aarch64-none-linux-gnu.
gcc/ChangeLog:
* config/aarch64/aarch64-builtins.cc (aarch64_init_simd_intrinsics): Take
builtin flags from intrinsic data rather than hardcoded FLAG_AUTO_FP.
}
tree ftype = build_function_type (return_type, args);
- tree attrs = aarch64_get_attributes (FLAG_AUTO_FP, d->op_modes[0]);
+ tree attrs = aarch64_get_attributes (d->flags, d->op_modes[0]);
unsigned int code
= (d->fcode << AARCH64_BUILTIN_SHIFT | AARCH64_BUILTIN_GENERAL);
tree fndecl = simulate_builtin_function_decl (input_location, d->name,