This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC] Fix PR28684


Hello Again,

> Perhaps pragmatically, reciprocal-math-optimizations can be those
> that strength reduce divisions into (an equal number of)
> multiplications.

This definition enables this transformation -

C1/(X*C2) into (C1/C2)/X

but  x / y   into  x * (1/y) seems to not fit it which might hurt targets
which
support reciprocal but not division operations (i.e. Altivec).

I still prefer the former definition... but that just me :-)

Thanks,
Revital


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]