Displaying 2 results from an estimated 2 matches for "mnofused".
Did you mean:
confused
2015 Sep 19
2
AArch64 fmul/fadd fusion
Hi All,
Recently I was doing some AArch64 work and noticed some cases where
fmuls were not getting fused with fadds. Is there any particular
reason that the AArch64 machine combiner doesn't do this like it does
for add/mul?
I am happy to work up a patch for this, but I wanted to make sure that
there wasn't a good reason for it not already being there. FWIW, I
see where GCC is doing
2015 Sep 19
3
AArch64 fmul/fadd fusion
...was aware of fmadd, but I was
really asking about turning sequences like:
fmul s0, s0, s2
fadd s0, s1, s0
into a fmadd:
fmadd s0, s0, s2, s1
> We support them via various flags (-ffast-math is the obvious one,
> though an argument could be made for supporting -mfused-madd and
> -mnofused-madd as well). But in the backend we definitely have to
> check *somthing* before doing the substitution.
Support in what way? I don't see any patterns or machine combiners
to do the above replacement. Did I miss something?
If I didn't miss something, is there interest in adding this...