On Tue, Jul 08, 2014 at 03:14:04PM +0400, Kirill Yukhin wrote: > > >On the over hand, updated in such a way intrinsic > > >may actually generate different instruction then intended (e.g. FMA case). > > > > It is the same with scalars, we have -ffp-contract for that. > Agreed.
I don't think we actually always guarantee using the particular instructions for the intrinsics even when they are implemented using builtins, at least if they don't use UNSPECs, e.g. if combiner or peephole2 manage to combine something into some other insn, we'll happily do that. Jakub